tfs - MSBuild Fails to remove Binaries directory -
I am creating two solutions with MSBuild:
& lt; Itemgroup & gt; & Lt; SolutionToBuild Include = "$ (BuildProjectFolderPath) / HostASPX / Solution ASLN" /> & Lt; Include SolutionToBuild = "$ (BuildProjectFolderPath) /../ Installer / SolutionB.sln" /> & Lt; / ItemGroup & gt;
It seems that the build error fails with the message:
remove the directory "c: \ TeamBuild \ team Solutions \ Solution \ Binaries" hopeless at. The directory is not empty.
It seems that by default MSBuild creates this 'binary' directory and build builds when I rebuild the build with the above message fails. If I Try to build 3. It works again
Can anyone tell me how to delete / overwrite his folder every time?
Are you sure there is no drama? That is, some explorer is not locking like explorer: P
You can rule it out by using \\ live.sysinternals.com \ procmon.exe
What is doing to Deir) and the Prosex (to find out who is locking).
Comments
Post a Comment