so I implemented a really simple plugin system.
i have the following Assemblies:
MainApp
IPlugin
PluginApp
Both MainApp
and PluginApp
conatin a reference to the IPlugin
. Now, in MainApp
I scan a plugins folder and search for things that implement the IPlugin
interface.
However, it is not working because both MainApp
and PluginApp
reference their own copy of IPlugin.dll
so they are not recognized as a match when using Type.IsAssignableFrom()
!
help?