Alex Rivera | Logout

ReflectionOnlyLoadFrom & Unload?

Asked 2009-08-11T02:12:46.867
12

If I do an Assembly.ReflectionOnlyLoadFrom(), is it possible to unload the assembly?

Or, can it be unloaded only if it is in a separate AppDomain, as with Assembly.LoadFrom() ?

I have a tool that needs to load an assembly for inspection.

Edit
Report

1 Answer

10

Yes, you need to load it into a separate AppDomain, then unload the entire AppDomain.

answered 2009-08-11T02:44:16.910

Your Answer