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\applic ation.exe
then, other assemblies are also installed on the same subdirectory, example:
c:\myapp\assemb ly1.dll
c:\myapp\assemb ly2.dll
Then in subdirecory Plugins under main subdirectory I installed the plugins:
c:\myapp\Plugin s\plugin1.dll
But plugin1.dll also depends on
c:\myapp\assemb ly1.dll
as same as application.exe .
When runtime, there is an error when loading the assembly (with
Assembly.Load(x xx)) that dependant assemblies on plugin1.dll were not found
(c:\myapp\assem bly1.dll).
How to solve this without moving the plugins assemblies to the main
subdirectory ?
Thanks in advance
Luis Arvayo
How to define the plugin assemblies path in order to find other assemblies
which the plugin depends on.
Example:
If I have:
c:\myapp\applic ation.exe
then, other assemblies are also installed on the same subdirectory, example:
c:\myapp\assemb ly1.dll
c:\myapp\assemb ly2.dll
Then in subdirecory Plugins under main subdirectory I installed the plugins:
c:\myapp\Plugin s\plugin1.dll
But plugin1.dll also depends on
c:\myapp\assemb ly1.dll
as same as application.exe .
When runtime, there is an error when loading the assembly (with
Assembly.Load(x xx)) that dependant assemblies on plugin1.dll were not found
(c:\myapp\assem bly1.dll).
How to solve this without moving the plugins assemblies to the main
subdirectory ?
Thanks in advance
Luis Arvayo
Comment