Tricky Reflection Question

J

John Faris

Hi all.

Not sure if this is the correct group but hope so. I need to be able to
load an assembly and simply get a list of the types contained within that
assembly. This is easy to achieve using Assembly.LoadFrom and GetTypes but
once the assembly has been loaded it cannot be unloaded without the
application being restarted. I specifically need to always reload the dll
without closing the app. I have been through countless articles discussing
AppDomains and such like but they all seem to relate to loading an assembly
an executing a method rather than what I need to do. Can anyone post some
code or point me somewhere I might not have looked to get this to work.

Thanks.
 
W

Wolfgang Hauer

maybe assembly.reflectiononlyload(string) will help you, if you use net 2

wolfgang
 

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

Top