Essentially need to read the dependencies programmatically without loading the assembly itself, as then you can’t unload them
Essentially need to read the dependencies programmatically without loading the assembly itself, as then
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
2 solutions come to my mind, although I think there’s easier way (which I forgot or don’t know 🙂 ):
1. Load your assemblies using some additional
AppDomainthat you can create. Unloading wholeAddDomainwill also unload loaded assemblies (but only those, which were loaded using thisAppDomain).2. Use some api, for example CCI that allows you to look inside managed dll’s without loading it using reflection mechanism.