[Mono-dev] Compiler Error CS1902 in mono/master

Marek Safar marek.safar at gmail.com
Thu May 10 08:33:17 UTC 2012


Hi,

You are hitting MonoDevelop bug where it's calling C# compiler with 
wrong arguments. In this particular case it's -debug:+ which is not valid.

I am not sure there has been fix for it in 2.8 version but the latest 
release should work

Marek

> I am testing current mono/master in Ubuntu Precise. I have installed 
> Mono in /opt/mono-2.11. I am using MonoDevelop 2.8.6.3 from the 
> distribution and added the new parallel environment using 
> MonoDevelop's options.
>
> When using runtime verions 2.8.10.1 everything works as expected. 
> However, if I switch to runtime version 2.11.2 I do get the following 
> error:
>
> error CS1902: Invalid debug option '+'. Valid options are 'full' or 
> 'pdbonly'
>
> This means that there's at least a bug in the error message itself. 
> The page at http://man.he.net/man1/gmcs lists the parameter + as valid 
> for the /debug option.
>
> Does anybody know what's going on here? Is it now required to always 
> use the newest version of MonoDevelop when testing mono/master?
>
>
>
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20120510/209ff74d/attachment.html>


More information about the Mono-devel-list mailing list