Can I pass an argument to msc through xbuild on the command line?

426 views Asked by At

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.

0

There are 0 answers