lmoreault
March 6th, 2009, 03:47 PM
Hi,
I am trying to load an assembly from my program which I can unload easily. (So we can forget about Assembly.LoadFrom()).
I have used the AppDomain approach and the Load / Unload methods.
It work fine but I have to place my dll in the same directory as my executing Assembly.
I tried changing the AppDomainSetup.ApplicationBase folder but it keeps on looking in the Assembly path.
Do you have any clue of what I could do ?
Example :
My program : c:\Program Files\MyApp\Test.exe
My DLL : c:\Test\Bla.dll
Thank you
I am trying to load an assembly from my program which I can unload easily. (So we can forget about Assembly.LoadFrom()).
I have used the AppDomain approach and the Load / Unload methods.
It work fine but I have to place my dll in the same directory as my executing Assembly.
I tried changing the AppDomainSetup.ApplicationBase folder but it keeps on looking in the Assembly path.
Do you have any clue of what I could do ?
Example :
My program : c:\Program Files\MyApp\Test.exe
My DLL : c:\Test\Bla.dll
Thank you