Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Dynamics 365 Community / Forums / Finance forum / Dynamics 365 for Opera...
Finance forum

Dynamics 365 for Operations - Build Error

(0) ShareShare
ReportReport
Posted on by 446

Dear All

We have Dynamics 365 for operations and downloaded a development VM. We linked the development VM to the VSTS workspace.

After, We checked-in the source code into the VSTS and we tried to build the solution but the build process didn't complete successfully because of this mentioned error below: 

Build

C:\Program Files (x86)\MSBuild\Microsoft\Dynamics\AX\Microsoft.Dynamics.Framework.Tools.BuildTasks.targets (55, 5)

C:\Program Files (x86)\MSBuild\Microsoft\Dynamics\AX\Microsoft.Dynamics.Framework.Tools.BuildTasks.targets(55,5): Error MSB4062: The "CopyReferencesTask" task could not be loaded from the assembly Microsoft.Dynamics.Framework.Tools.BuildTasks, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35. Could not load file or assembly 'Microsoft.Dynamics.Framework.Tools.BuildTasks, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified. Confirm that the <UsingTask> declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask.

Process 'msbuild.exe' exited with code '1'.

Directory 'C:\DynamicsSDK\VSOAgent\_work\1\a\AdditionalLogs' is empty. Nothing will be added to build artifact 'AdditionalLogs'.

  

Please advise

 

  • Verified answer
    Peter Samir Profile Picture
    446 on at
    RE: Dynamics 365 for Operations - Build Error

    Actually after contacting Microsoft, This issue was due to a missing step while applying the platform update package on a DEV/Build environments.

    As I have to "Delete the backup from the DEV/Build Server before an (platform) update" as mentioned in the following link.

    Upgrade Dynamics 365 for Operations to the latest platform update

    I tried all possible solutions but this issue was solved after (Deallocate/Delete/Redeploy) the build server and download a new copy of the development server with same version of the build server.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,219 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,980 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans