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.
Yes, you need to load it into a separate AppDomain, then unload the entire AppDomain.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With