lholman / OneBuild

Convention based PowerShell build for .NET http://lholman.github.io/OneBuild/
Apache License 2.0
17 stars 2 forks source link

Multiprocessor MSBuild switch without node recycling can lead to locked builds #49

Closed AwaNoodle closed 9 years ago

AwaNoodle commented 9 years ago

I've encountered an issue where files brought in by a solution to build are being kept open by MSBuild processes (in my case it was the BCL files or the targets used for MS Deploy Publishing). This has the effect of stopping a build when TeamCity tries to clean the working folder and retry the build.

I've experimented with turning off /m which works but obviously is a problem. I had more success with using /nr:false as the created build processes are not kept around to lock the files.

lholman commented 9 years ago

Fixed with PR #50