G
Guest
I am loading some dlls for my application using reflection. These dlls are
plugins as suggested in the MSDN article:
http://msdn.microsoft.com/msdnmag/issues/03/10/Plug-ins/
(although I came up with this idea myself before reading the article).
These plugins exist in a plugin directory and are loaded by my main
executable. The problem I am having is that some of my plugins share code
via another assembly (dll). If that dll resides in the plugin directory it
can not be loaded and I get an error message something like "the manifest for
XXX does not match the referenced assembly XXX". The simple solution is to
move these dlls into my main application directory, but this doesn't seem to
make sense as they are not part of my main application they only exist to
support the plugins. Is there a better solution? Some way to indicate that
the reference should search the plugins directory as well?
Thanks in advance,
Jon Walker
plugins as suggested in the MSDN article:
http://msdn.microsoft.com/msdnmag/issues/03/10/Plug-ins/
(although I came up with this idea myself before reading the article).
These plugins exist in a plugin directory and are loaded by my main
executable. The problem I am having is that some of my plugins share code
via another assembly (dll). If that dll resides in the plugin directory it
can not be loaded and I get an error message something like "the manifest for
XXX does not match the referenced assembly XXX". The simple solution is to
move these dlls into my main application directory, but this doesn't seem to
make sense as they are not part of my main application they only exist to
support the plugins. Is there a better solution? Some way to indicate that
the reference should search the plugins directory as well?
Thanks in advance,
Jon Walker