Unfortunately the CLR doesn't have any support for reloading. But you should be able to do clr.AddReferenceToFile instead of just clr.AddReference. IronPython will then update the types which are available for import so they're the new types. There may be some issues around CLR loader contexts but if things are simple enough (e.g. one assembly, not a collection of assemblies which reference each other) then that should work pretty painlessly.
From: users-boun...@lists.ironpython.com [mailto:users-boun...@lists.ironpython.com] On Behalf Of jon vs. python Sent: Wednesday, April 28, 2010 2:57 AM To: Discussion of IronPython Subject: [IronPython] Ironpython reload assembly/dll from console Hi, I'm developping a C# assembly and using IronPython to test it interactivelly. Every bug or flaw found requires a new assembly generation, loading, etc. Is it possible to reload the assembly from IronPython Console? If it is, how can I do it? Thanks, Jon.
_______________________________________________ Users mailing list Users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com