[Mono-dev] Using the System.Linq library

Atsushi Eno atsushi at ximian.com
Fri Apr 6 03:29:17 EDT 2007


No, you don't have to add something special either in the source or in the
compiler options. The command line should be fine (even -r might not
be required).

Make sure that the method you are going to use is already implemented.

I believe that we don't need extraneous 3.0 build loop until we are ready
to start .NET 3.5 compatibility stack (which involves changes to existing
libraries).

Atsushi Eno


Antonello Provenzano wrote:
> Mark,
>
> LINQ functions are under the profile 2.0 (I don't know why still don't
> have 3.0): to compile it you just have to add the PROFILE=net_2_0
> directive to the compilation.
>
> Cheers.
> Antonello
>
>
> On 4/3/07, Mark IJbema <mark at ijbema.xs4all.nl> wrote:
>   
>> Hi,
>>
>> I'm trying to use the System.Linq library, but i don't know how. It's in
>> System.Core, so i used:
>>
>> gmcs -langversion:linq -r:System.Core Bla.cs
>> gmcs -langversion:linq -r:/home/mark/local/lib/mono/2.0/System.Core.dll Bla.cs
>>
>> On the file:
>>
>> http://ijbema.home.fmf.nl/Bla.cs
>>
>> Can anyone tell me how to compile this file so i can use the provided
>> extension methods in Enumerable.cs?
>>
>> Regards,
>>
>> Mark
>>
>> PS. I've already asked on IRC and tried to google it, but both to no
>> avail
>> _______________________________________________
>> Mono-devel-list mailing list
>> Mono-devel-list at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>>
>>     
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
>   




More information about the Mono-devel-list mailing list