Announcements
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
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.
André Arnaud de Cal...
294,219
Super User 2025 Season 1
Martin Dráb
232,980
Most Valuable Professional
nmaenpaa
101,158
Moderator