Quantcast
Viewing latest article 2
Browse Latest Browse All 5

how to unload Assembly?

Sorry, I would like to read your code but without the code blocks, it is really unreadable.

One solution, that also works for me is: Copy the code first to notepad and then copy it again from notepad to the forum. That way all formating is removed and the code is also readable. (At least that was my exerience in the past).

But with all these linebreaks and so it is really hard to read and I do not feel like putting all together again.

(The idea to load the file into a byte array is a quite nice idea so you can always delete the DLL. Or instead you can copy it somewhere and open it from there. As you want. But unloading the AppDomain should work, too. But you really have to make sure that you do not get a reference to the stuff somehow. At least that was an experience I had in the past.)

With kind regards,

Konrad


Viewing latest article 2
Browse Latest Browse All 5

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>