continuous-integrationcruisecontrol.netdotnetnuke

How do I prevent incorrect CI build failures when building lots of projects?


How do I fix this incorrect CI build failure? c:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets (1360,9): warning MSB3101: Could not write state file "obj\x86\Debug\ResolveAssemblyReference.cache". The process cannot access the file 'C:\Servers\CruiseControl.NET\Builds\WheelMUDSharp\src\Actions\obj\x86\Debug\ResolveAssemblyReference.cache' because it is being used by another process.

We have around 170 DotNetNuke modules that all depend on two modules. When the two dependencies change and all projects rebuild we get incorrect failures like the one above. How can we stop from getting these failures?


Solution

  • Put those project in a single queue - as they all write to the same file, they can't build simultaneously.