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: [email protected]
[mailto:[email protected]] 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
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
--
http://www.ironpythoninaction.com/
_______________________________________________
Users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com