Unloading a dynamically loaded assembly

  • Thread starter Thread starter Benny Raymond
  • Start date Start date
Benny,

Short of unloading the app domain that loaded the assembly, there is no
way to do this. Your only option is to unload the app domain that it is in.

Hope this helps.
 
Benny,

Yes there are and it basically takes this amount of work:
AppDomain.Unload(MyAssembly);

See this excellent article
http://www.devsource.com/article2/0,1895,1790388,00.asp

Roy Osherove wrote a series of articles on plug-in support namely Make Your
App Support Plugins
http://msdn.microsoft.com/asp.net/default.aspx?pull=/library/en-us/dnaspp/html/pluginframework.asp
and Make Your App Support Plugins 2 - Dynamic Search
http://msdn.microsoft.com/asp.net/u...ibrary/en-us/dnaspp/html/searchforplugins.asp

Best regards,
Paul Gielens

Visit my blog @ http://weblogs.asp.net/pgielens/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top