类似于使用 CruiseControl.NET 和 MSBuild 发布网站
我遇到的情况是 ccnet.config 中的 MSBuild 任务确实可以正常工作,但最后进程以
standard-output stream closed -- null received in event
standard-error stream closed -- null received in event
process exited event received
从命令行运行时,一切正常。
我查看了所有我能想到的日志文件,但我很难过,我已经为此倾倒了很多时间。请帮忙!
11/13 更新:这里要求摘自 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>
和
<cb:define msBuildExe="C:\Windows\Microsoft.NET\Framework64\v4.0.30319\MSBuild.exe" />
<cb:define msbuildConfig="Debug - No MSEL" />
在顶部,除其他外