Is it possible to do this by streaming the assembly into memory? If so, how does one do this?
Reason:
I don\'t want to lock the dll that\'s loaded. I want to
If you compile the DLLs on fly from the sources, you don't necessarily even have to make a copy, instead the re-compile process should be as following:
1) Destroy the application domain that has the assemblies loaded, effectively unlocking the DLLs.
2) Re-compile the scripts.
3) Re-create the application domain for plugins, and load the new assemblies in it.