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

0

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.

Horacehoracio answered 29/8, 2013 at 5:36 Comment(1)
Other than extending your own csc, or using an exec task, i don't know of any. github.com/mono/mono/blob/master/mcs/class/…Gawain

© 2022 - 2024 — McMap. All rights reserved.