Hi
I have an application which loads dlls from a specfic folder.
I am using Assembly.LoadFile(dllName);
But with im facing an issue that, the dependencies of the loaded dll needs
to be part of my main applications working folder.
I want to put all dependencies of a dll being loaded into its specific
folder.
My folder struc is as follows
Main Applicatiion folder is
\HostApplication
Plugins are stored as follows
\HostApplication\Plugins\X\X.dll
\HostApplication\Plugins\Y\Y.dll
Currently im getting exception if I put dependencies of a respective plug in
its own folder. But I Put dependencies of a plug in my HostApplication
folder it works fine. But i started facing problems when two plugs refer to
same name assembly.
Thanks in advance.
|