[IronPython] Referencing extension modules from hosting

Jeff Hardy jdhardy at gmail.com
Thu Mar 18 18:49:24 CET 2010


On Thu, Mar 18, 2010 at 10:42 AM, Dino Viehland <dinov at microsoft.com> wrote:
>> It's not terribly difficult to write, but it would be nice to have an
>> extension method on ScriptEngine that did it.
>
> I think ScriptRuntime.LoadAssembly should do this as well and is simpler.

Hence why I asked :) Didn't know about that one.

> I'm not sure this one is actually possible - I don't think there's any
> way to enumerate loaded assemblies.

What about AppDomain.Current.GetAssemblies()? Not sure how that would
play with a remoted engine, mind you.

I'll create an issue for the ScriptScope extension.

- Jeff



More information about the Ironpython-users mailing list