[MonoDevelop] -langversion:linq

Michael Hutchinson m.j.hutchinson at gmail.com
Sun Dec 9 12:52:20 EST 2007


MD does have a langversion dropdown in SVN, but it does not include
linq because this compiler option will soon be renamed to "default".
Until then you can use the "additional compiler args" setting, also in
MD SVN.


On 12/9/07, Adam Tauno Williams <adamtaunowilliams at gmail.com> wrote:
> If I set my project to the 2.0 profile does Monodevelop invoke the
> "-langversion:linq" behavior?  I don't see any explicit way to enable
> linq mode in the UI.
>
> I have an extension method, which I think should work in Mono, but when
> I attempt to built the library in Monodevelop I get an error.
>
> Unhandled Exception: System.ArgumentNullException: Argument cannot be
> null.
> Parameter name: customBuilder
>   at System.Reflection.Emit.TypeBuilder.SetCustomAttribute
> (System.Reflection.Emit.CustomAttributeBuilder customBuilder) [0x00000]
>   at Mono.CSharp.Class.Emit () [0x00000]
>   at Mono.CSharp.TypeContainer.EmitType () [0x00000]
>   at Mono.CSharp.RootContext.EmitCode () [0x00000]
>   at Mono.CSharp.Driver.MainDriver (System.String[] args) [0x00000]
>   at Mono.CSharp.Driver.Main (System.String[] args) [0x00000]
>
>
> Build complete -- 2 errors, 0 warnings
>
>
> mono-core-1.2.5.1-10.1
> monodevelop-0.17-0.novell
>
> --
> Adam Tauno Williams, Network & Systems Administrator
> Consultant - http://www.whitemiceconsulting.com
> Developer - http://www.opengroupware.org
>
> _______________________________________________
> Monodevelop-list mailing list
> Monodevelop-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monodevelop-list
>

-- 
Sent from Gmail for mobile | mobile.google.com

Michael Hutchinson
http://mjhutchinson.com


More information about the Monodevelop-list mailing list