471,570 Members | 935 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,570 software developers and data experts.

Unloading a dynamically loaded assembly

Are there any good tutorials on how to unload a dynamically loaded assembly?
Nov 29 '05 #1
2 1759
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.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Benny Raymond" <be***@pocketrocks.com> wrote in message
news:eX**************@TK2MSFTNGP10.phx.gbl...
Are there any good tutorials on how to unload a dynamically loaded
assembly?

Nov 29 '05 #2

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/de...nframework.asp
and Make Your App Support Plugins 2 - Dynamic Search
http://msdn.microsoft.com/asp.net/us...forplugins.asp

Best regards,
Paul Gielens

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

Nov 29 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by LilleSkutt | last post: by
2 posts views Thread by Arthur Roodenburg | last post: by
5 posts views Thread by vineeth | last post: by
4 posts views Thread by Jonas Bergman | last post: by
2 posts views Thread by Tim | last post: by
reply views Thread by leo001 | last post: by
reply views Thread by Vinnie | last post: by
reply views Thread by lumer26 | last post: by
reply views Thread by lumer26 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.