[MonoDevelop] using Linq & Extension Methods

Andy Selvig ajselvig at gmail.com
Wed Oct 28 08:58:26 EDT 2009


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
>


More information about the Monodevelop-list mailing list