开发者

cygwin - Running msbuild with switches

I'm trying to improve our build automation using bash. My shell scripting leaves a lot to be desired but essentially I want to be able to use a bash shell script to run MSBuild.exe passing in certain build switches. So in myscript.sh there's a line :

C:/Windows/Microsoft.NET/Framework/v4.0.30319/MSBuild.exe /maxcpucount:8 /verbosity:q /p:Configuration=Debug C:/Myfolder/Main.sln 

This fails due to the /p:Configuration=Debug. I can say that with certainty as without it the execution of MSBuild.exe work开发者_JS百科s.

Can anyone help on this?


As it turns out it was due to

/p:

When using /property:Configuration=Debug it works.

Thanks for the help.

Tim

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜