Similar to Using CruiseControl.NET and MSBuild to publish a website
I'm encountering a situation where the MSBuild task in the ccnet.config does appear to work, but at the very end the process terminates with
standard-output stream closed -- null received in event
standard-error stream closed -- null received in event
process exited event received
When run from the command line, all appears well.
I've looked in all the logfiles I can think of, but I am stumped, I've dumped a lot of time into this. Please help!
UPDATED 11/13: As requested here is excerpt from CCNET.CONFIG
<msbuild>
<executable>$(msBuildExe)</executable>
<projectFile>"src\Solutions\Apprentice - Core Tests - VS11.sln"</projectFile>
<buildArgs>/noconsolelogger /p:Configuration="$(msbuildConfig)" /v:diag</buildArgs>
<logger>$(ccnet)\server\ThoughtWorks.CruiseControl.MsBuild.dll</logger>
<environment>
<!-- allow NuGet to auto restore packages -->
<variable>
<name>EnableNuGetPackageRestore</name>
<value>true</value>
</variable>
</environment>
</msbuild>
With
<cb:define msBuildExe="C:\Windows\Microsoft.NET\Framework64\v4.0.30319\MSBuild.exe" />
<cb:define msbuildConfig="Debug - No MSEL" />
At the top, amongst others