How to use shadow copying for dll files in Ironpython?

I am compiling my code in Visual Studio and then load it in Ironpython via

import clr
clr.AddReferenceToFileAndPath (pathToDll)

This works fine, however to recompile the dll file I have to close down Rhino. How could I use Shadow Copying to avoid this restarting cycle ?

see also:

Hi Goswin,

Its pretty typical to have to shut down Rhino to recompile a component, as Rhino does not have a mechanism to unload a plug-in or component.

Plug-in developers have been doing this for years. :wink:

– Dale