[MonoDevelop] using Linq & Extension Methods

Lluis Sanchez Gual lluis at novell.com
Wed Oct 28 09:27:52 EDT 2009


In Project Options / General, make sure that C# language version is set
to Default.

El dc 28 de 10 de 2009 a les 06:09 -0700, en/na sagie va escriure:
> Yes,
> But I don't have Mono/.Net3.5 option at all. Only 1.0 & 2.0.
> 
> 
> Andy Selvig wrote:
> > 
> > Did you go into the project options and set Build->General->Runtime
> > version to "Mono/.NET 3.5" instead of "Mono/.NET 2.0"?
> > 
> > On Wed, Oct 28, 2009 at 3:11 AM, sagie <sagie.shamay at picscout.com> wrote:
> >>
> >> Hi.
> >> I am starting to use Mono & MonoDevelop, after 7 years of .Net framework
> >> development.
> >> It is very exciting, but I have some problems that requires some help.
> >>
> >> I have my c# code, that compiles and works very well in windows. The code
> >> contains Linq to object query and extension methods.
> >>
> >> I am trying to port it into ubuntu, using MonoDevelop 2.0 stable, but I
> >> allways get
> >>
> >> Feature `query expressions' cannot be used because it is not part of the
> >> C#
> >> 2.0 language specification, and
> >> Feature `extension methods' cannot be used because it is not part of the
> >> C#
> >> 2.0 language specification.
> >>
> >> I tried to change the mono profile to 3.5, but in the option page I have
> >> only 1.0 and 2.0.
> >>
> >> Any Idea?
> >> Maybe somthing else that I need to install?
> >>
> >> thanks,
> >> Sagie
> >> --
> >> View this message in context:
> >> http://www.nabble.com/using-Linq---Extension-Methods-tp26090761p26090761.html
> >> Sent from the Mono - MonoDevelop IDE mailing list archive at Nabble.com.
> >>
> >> _______________________________________________
> >> Monodevelop-list mailing list
> >> Monodevelop-list at lists.ximian.com
> >> http://lists.ximian.com/mailman/listinfo/monodevelop-list
> >>
> > _______________________________________________
> > Monodevelop-list mailing list
> > Monodevelop-list at lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/monodevelop-list
> > 
> > 
> 



More information about the Monodevelop-list mailing list