PDA

Click to See Complete Forum and Search --> : Load and unload Assembly at runtime


neodatatype
Aug 29th, 2004, 01:59 AM
Hi all!

I need to load an assembly given its fisical file path.
And (important) I need to be able to *unload* the assembly when I no more need it, so that its .exe file will be released and I can delete it.

Someone told me to load it in a different AppDomain (is this the right way?), but I can't get it work :( and the assembly file is not under my app directory!

Thanks for your help!

hellswraith
Sep 1st, 2004, 03:13 PM
I assume you are doing .net...

This page covers a lot more, but it covers what you want as well

http://www.west-wind.com/presentations/dynamicCode/DynamicCode.htm