[IronPython] Help - Running IPY with .NET 3.5

Michael Foord fuzzyman at voidspace.org.uk
Wed Nov 11 17:14:19 CET 2009


Brian Ushman (TT) wrote:
> Thanks for your reply Michael.
>
> That makes sense that the clr has not changed.  However, how would I
> have it load the newer .NET libraries instead of the 2.0 version.
>
> In my specific case I am trying to call the function "SequenceEqual"
> from the System.Array class.  But is says that this method does not
> exist.  I looked in the documentation and this function only exists 3.5
> and later.  That is what led me to believe that it is loading an older
> version of .NET that does not have this method available.
>
> Any ideas?
>   
You will get .NET 3.5 by default - however to import some of the .NET 
3.5 classes you will need to add references to the correct assemblies.

Is that method an extension method? They are not usually available 
directly in IronPython. There have been a few emails / blog entries on 
the topic if you google for them.

All the best,

Michael

> -----Original Message-----
> From: users-bounces at lists.ironpython.com
> [mailto:users-bounces at lists.ironpython.com] On Behalf Of Michael Foord
> Sent: Wednesday, November 11, 2009 10:07 AM
> To: Discussion of IronPython
> Subject: Re: [IronPython] Help - Running IPY with .NET 3.5
>
> Brian Ushman (TT) wrote:
>   
>> Hello to All,
>>
>>  
>>
>> I am new to Python in general, but I have downloaded the latest 
>> release of IronPython.  I am using Windows XP SP3 x64.  Everytime I 
>> start IPY is says that it is using .NET 2.0, however I would like it 
>> to load with .NET 3.5.  From what I have read on the latest release of
>>     
>
>   
>> IPY, this should be possible but I have been unsuccessful.  Is there a
>>     
>
>   
>> way to force IPY to load with .NET 3.5?
>>
>>  
>>
>>     
> .NET 3.5 is really just a set of new libraries on top of .NET 2, there 
> is no new CLR as part of .NET 3.5. If you have .NET 3.5 then when you 
> run IronPython you are using .NET 3.5...
>
> All the best,
>
> Michael Foord
>
>
>   
>> Thank you!
>>
>>
>>     
> ------------------------------------------------------------------------
>   
>> _______________________________________________
>> Users mailing list
>> Users at lists.ironpython.com
>> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
>>   
>>     
>
>
>   


-- 
http://www.ironpythoninaction.com/




More information about the Ironpython-users mailing list