urday, May 17, 2008 7:51 AM
To: Discussion of IronPython
Subject: Re: [IronPython] Custom Host - Import CLR fails
Hi Dino,
Thanks for your reply. Spent all day trying to debug the problem. I
have the code working in a POC, I have it working in my UI but my unit
tests are failing.
The exception
> It prints:
>
>
> hello world
>
> Do you still get an exception with this code? I also realize you were trying
> to load them dynamically on another thread but it might be worth pointing out
> this doesn't actually end up w/ any dependencies on IronPython.dll or
&
or
IronPython.Modules.dll as written.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ben Hall
Sent: Friday, May 16, 2008 6:09 PM
To: Discussion of IronPython
Subject: [IronPython] Custom Host - Import CLR fails
Hi,
After getting Python code to work succe
Hi,
After getting Python code to work successfully, I decided to quickly
import the CLR and access some .Net objects. At this point my code
blew up.
The code I tried to execute was "import clr".
Exception is this:
Unhandled Exception System.NullReferenceException: Object reference
not set to an