7

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.

Anthony Mastrean
  • 21,850
  • 21
  • 110
  • 188
dahlbyk
  • 75,175
  • 8
  • 100
  • 122
  • Other than extending your own csc, or using an exec task, i don't know of any. https://github.com/mono/mono/blob/master/mcs/class/Microsoft.Build.Tasks/Microsoft.Build.Tasks/Csc.cs – jbtule Aug 29 '13 at 12:59

0 Answers0