[IronPython] DLR Hosting, Access to .NET Types

David Seruyange idmkid at yahoo.com
Fri Apr 18 07:00:32 CEST 2008

Thank you for your help!  I did the following which seems to work quite fine:

            Assembly assem = Assembly.GetAssembly(Type.GetType("System.Text.StringBuilder"));

Of course if it's a change as of 2.0 I wonder why it doesn't manifest itself when executing from the command shell. Unless (and I take your meaning as such) it's the DLR Hosting libraries as of 2.0 - 

Only midnight, glad you bailed me out Curt otherwise I may have been a sleepy fellow tomorrow at work. :^)


----- Original Message ----
From: Curt Hagenlocher <curt at hagenlocher.org>
To: Discussion of IronPython <users at lists.ironpython.com>
Sent: Thursday, April 17, 2008 11:33:29 PM
Subject: Re: [IronPython] DLR Hosting, Access to .NET Types

On Thu, Apr 17, 2008 at 9:28 PM, David Seruyange <idmkid at yahoo.com> wrote:
> But when using a hosted engine, mscorlib seems not to be loaded for free
> anymore -

That is correct, and represents a change that was made around 2.0
Alpha 8 (if I remember correctly).  That's why you need to explicitly
add assembly references to the runtime.

Curt Hagenlocher
curt at hagenlocher.org
Users mailing list
Users at lists.ironpython.com

Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20080417/e36c6ecd/attachment.html>

More information about the Ironpython-users mailing list