Aha. I was using a test harness to run my library and it did not copy the IronPythonModules.Dll across when I added a reference to my library.
It works now. Thanks. Matt From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Curt Hagenlocher Sent: 20 June 2008 13:43 To: Discussion of IronPython Subject: Re: [IronPython] Problem with Beta3 All four of the DLLs are in your executable directory? On Fri, Jun 20, 2008 at 5:40 AM, Clarke, MJ (Matt) <[EMAIL PROTECTED]> wrote: Hi Ben, thanks for the reply. I have tried using the dlls that came with the binary download and I have also tried rebuilding IP from source and using all the dlls from that - same result. Matt -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ben Hall Sent: 20 June 2008 13:13 To: Discussion of IronPython Subject: Re: [IronPython] Problem with Beta3 Hello, Have you referenced Microsoft.Scripting and Microsoft.Scripting.Core in your C# project? Are they the correct version (the only IP was built against). They would be the first things to check, if you still have problems then let us know. Ben Blog.BenHall.me.uk <http://blog.benhall.me.uk/> On Fri, Jun 20, 2008 at 12:26 PM, Clarke, MJ (Matt) <[EMAIL PROTECTED]> wrote: > Hi, > > > > When I try to run these lines from C# (which I borrowed from EngineTest.cs) > > > > _env = ScriptRuntime.Create(); > > _pe = _env.GetEngine("py"); > > > > I get the following exception: > > > > Microsoft.Scripting.Runtime.MissingTypeException was unhandled > > Message="Type 'IronPython, IronPython.Runtime.PythonContext' is missing or > cannot be loaded." > > Source="Microsoft.Scripting.Core" > > > > Any ideas? > > > > Matt > > _______________________________________________ > Users mailing list > [email protected] > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > > _______________________________________________ Users mailing list [email protected] http://lists.ironpython.com/listinfo.cgi/users-ironpython.com _______________________________________________ Users mailing list [email protected] http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
_______________________________________________ Users mailing list [email protected] http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
