Re: [Ironpython-users] Loading python compiled with clr.CompileModule

2018-04-03 Thread Josiah Kiehl
Sorry if I'm not understanding... when you say "full framework version", do you mean the stand alone executable, ipy.exe? I compiled the dll with ipy.exe running a simple script: > ipy compile.py # compile.py import clr clr.CompileModules("compiled.dll", "test.py") This works just fine. Then

Re: [Ironpython-users] Loading python compiled with clr.CompileModule

2018-04-03 Thread Stéphane Lozier
The .NET Core version of IronPython does not support assembly generation. I haven't tried it myself, but you could probably compile the assembly using the full framework version and then run it with .NET Core 2.0 (assuming you're not using unsupported APIs). Stéphane On Tue, Apr 3, 2018, 5:16 PM

Re: [Ironpython-users] Loading python compiled with clr.CompileModule

2018-04-03 Thread Josiah Kiehl
Oh, I'm on dotnet 2.0.3, if that's relevant information. On Tue, Apr 3, 2018 at 2:15 PM Josiah Kiehl wrote: > I'm trying to execute this example code: > > https://stackoverflow.com/questions/32639893/call-dll-function-from-c-sharp-ironpython > > I realize the posted question is a few years old a

[Ironpython-users] Loading python compiled with clr.CompileModule

2018-04-03 Thread Josiah Kiehl
I'm trying to execute this example code: https://stackoverflow.com/questions/32639893/call-dll-function-from-c-sharp-ironpython I realize the posted question is a few years old at this point... has something changed in how python, compiled to a DLL via clr.CompileModule, is loaded? I'm getting th