I get the following error when running my build on Visual Studio Online (using the built-in build controller):
C: \ Program Files (X86) \ MSBuild \ 14.0 \ Bin \ amd64 \ Microsoft.Common.CurrentVersion.targets (3962): Failed to copy "D: \ a \ SRC \ MySolution \ MyProject \ Trunk \ Packages \ Microsoft.Data .Edm.5.6.4 \ Lib \ net40 \ Microsoft.Data.Edm.xml "to" .. \ Build \ bin \ Release \ Microsoft.Data.Edm.xml ". Start of repeat 1 in 1000ms. The process cannot access the file '.. \ Build \ bin \ Release \ Microsoft.Data.Edm.xml' because it is being used by another process.
It is never the same file, but it seems to be always either xml or dll from the package folder.
EDIT: I'm not sure if it's worth mentioning, but I have several workspaces and several build definitions using this repository.
I found a problem. Completely unrelated to the above error.
I went into the msbuild log files and found this:
Failed to create diagnostic extension configuration for MyRole \ diagnostics.wadcfgx. Error: Could not find part of the path 'D: \ a \ DSI ... \ MyRole \ diagnostics.wadcfgx. The finished construction project "d: \ a \ src ... \ MyCloudProject.Cloud.ccproj" (Publish Target Objects) is FAILED.
I missed the file in the original control.
I really wonder why this error did not appear in my build summary. And where did this initial mistake come from?
TFS Visual Studio 2013 , , (, VS ) / . , .
02 2016 :
, VS 2013 TFS Team Explorer Check-in Pending Changes, , .
VS 2013 TFS SQLServer Express 2014: 1. " ": " " → " " 2. 3. , : . . . 3a 3b,