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.
来源:https://stackoverflow.com/questions/18503033/can-i-pass-an-argument-to-msc-through-xbuild-on-the-command-line