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

回眸只為那壹抹淺笑 提交于 2020-01-13 09:31:50

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!