[MonoDevelop] -langversion:linq

Adam Tauno Williams adamtaunowilliams at gmail.com
Sun Dec 9 09:28:21 EST 2007


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



More information about the Monodevelop-list mailing list