We have an automated build server that produces builds using Visual Studio 2005 and CruiseControl.NET (on Windows XP x64). Normally nobody is logged into the system, but occasionally we have to log in via Remote Desktop in order to perform maintenance.
We have noticed that if cl.exe
is running (Microsoft's C++ compiler) at the instant we log out from remote desktop, then cl.exe
will terminate with error result 4:
Project : error PRJ0002 : Error result 4 returned from 'C:\Program Files (x86)\Microsoft Visual Studio 8\VC\bin\cl.exe'.
This obviously causes the current build to fail with a pretty mysterious message. Does anyone know how to prevent this from happening?