Actually it is:
How to define the plugin assemblies path in order to find other assemblies
which the plugin depends on.
Example:
If I have:
c:\myapp\application.exe
then, other assemblies are also installed on the same subdirectory, example:
c:\myapp\assembly1.dll
c:\myapp\assembly2.dll
Then in subdirecory Plugins under main subdirectory I installed the plugins:
c:\myapp\Plugins\plugin1.dll
But plugin1.dll also depends on
c:\myapp\assembly1.dll
as same as application.exe.
When runtime, there is an error when loading the assembly (with
Assembly.Load(xxx)) that dependant assemblies on plugin1.dll were not found
(c:\myapp\assembly1.dll).
How to solve this without moving the plugins assemblies to the main
subdirectory ?
Thanks in advance
Luis Arvayo