Is there a way with xbuild, either through the command line or inside the script assembly, to pass additional arguments to the compiler? In particular, I want to pass --mcs-debug 1 to get a stack trace for an internal compiler error .
I managed to get around this by updating %MONO%\bin\gmcs , but I expect that there will be a better way.
source share