[Mono-list] xbuild generating invalid /debug:none flag and error..

David Lechner david at lechnology.com
Thu Aug 15 16:42:10 UTC 2013

On 8/15/2013 3:01 AM, David Jeske wrote:
> I'm getting an xbuild error because xbuild is generating the invalid
> compiler flag "/debug:none". However, I don't know where this is being
> generated. Is this something in my project's build template, xbuild
> templates, xbuild code, elsewhere?

Could it have to do with the fact that you are targeting .NET 2.0 (using 
gmcs). It seems to work correctly with my project targeting .NET 4.0 
(using dmcs). I get the correct /debug- flag when I have 
<DebugType>none</DebugType> in my .csproj file. Or maybe you have a 
mismatched <DebugSymbols>true</DebugSymbols> in your .csproj?

More information about the Mono-list mailing list