By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
431,745 Members | 1,873 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 431,745 IT Pros & Developers. It's quick & easy.

unloading loaded dll at runtime in .Net managed code

P: 18
hi guys,

i have a situation such that i made a dll using wsdl and load that dll at runtime in .Net(C#). Now i want to delete that dll somehow. for this i have to unload that dll. can anybody help me how unload the loaded dll.

thanx in advance.
Apr 23 '07 #1
Share this Question
Share on Google+
1 Reply


enola
P: 1
hi guys,

i have a situation such that i made a dll using wsdl and load that dll at runtime in .Net(C#). Now i want to delete that dll somehow. for this i have to unload that dll. can anybody help me how unload the loaded dll.

thanx in advance.
hi

I had the same problem.
To solve it you have to load assemblyes not in a same AppDomain in which working your app, you have to create another AppDomain and load dlls to that domain and then you can unload that domain to be able to delete refferenced dlls, otherwise you can not.
Apr 23 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.