如何使用Nant脚本使用msbuild.exe long cmd行.MSBuild命令是 - >
<target name="publish-project-release-folder">
<exec program="C:\Program Files (x86)\MSBuild\12.0\Bin\msbuild.exe" verbose="true" >
<arg value="/target:Build;PipelinePreDeployCopyAllFilesToOneFolder" />
<arg value="/p:Configuration=Release;_PackageTempDir=C:\cicheckout\outdir\;AutoParameterizationWebConfigConnectionStrings=false" />
<arg value="C:\a\testteamcity\demo\WebApp\webapp.csproj" />
</exec>
Error : C:\245\hello.build(9,6):
'C:\Program Files (x86)\MSBuild\12.0\Bin\msbuild.exe' is not a valid value for attribute 'program' of <exec ... />.
Illegal characters in path.
Total time: 0 seconds.