Can I pass an argument to msc through xbuild on th

2019-04-28 12:22发布

问题:

Is there a way with xbuild, either through the command line or within a build script, to pass additional arguments through to the compiler? Specifically, I want to pass in --mcs-debug 1 to get a stack trace for an internal compiler error.

I was able to work around it by updating %MONO%\bin\gmcs, but I expect there's a better way.

标签: xbuild