Answer the question
In order to leave comments, you need to log in
How to programmatically connect a DLL to a VB.Net project and unload it on the fly?
there is a dll for example 123.dll lies in the directory with the exe when the button is pressed the dll is loaded the function is called and unloaded after the function is executed.
Answer the question
In order to leave comments, you need to log in
Everything is bad with unloading (Assembly.Load loads into the current AppDomain, from which nothing can be unloaded).
If there is no way to dig in the direction of MAF without unloading , you can still look at MEF , it is simpler, but without unloading.
For the lazy ;) example .
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question