[IronPython] Ironpython reload assembly/dll from console
jon vs. python
jonvspython at gmail.com
Wed Apr 28 18:37:35 CEST 2010
Thanks!! I'll try that one.
On Wed, Apr 28, 2010 at 6:19 PM, Dino Viehland <dinov at microsoft.com> wrote:
> 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-bounces at lists.ironpython.com [mailto:
> users-bounces at 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 at lists.ironpython.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Ironpython-users