Dear all,
I have a really strange beaviour in my application.
First of all I have a single plugin interface named
IPlugIn which as been build in a separate project library
named PLugin.dll (this contains only the interface)
Then I have a PlugInManager project which has as reference
the library Plugin.dll and implements the IPlugIn
interface. In addition to that PluginManager project has
also a reference to a Common libryr project which contains
all common class that are used in my application
(Common.dll). The reference to common.dll is also added as
reference here.
Compiling this generated PlugInManager.dll
As a last steps in order to identify my plugin
functionnality, I need to create an instance of my plugin
and for that I need to add in Common project (common.dll)
a reference to PlugInMagaer.dll and also reference to
PLugin.dll defined earlier.
Then in my Common project I have a class named Line
(line.vb).
The problem I get comes at the time I try to create a new
plugin.dll instance
I get error message "Reference require to assembly common
containing the type Line" but what is strange is that the
type Line is a class inside common project itself ???
Note that if I add everything in common project it works
OK but the idea in my application is to give the
possibility to extend functionnality by plugin. Thats why
I have separate the interface and the pluginmangement in a
new project
It seems that there is a cross reference problem any idea
how to solve this ?
Hoping I have been clear enough
Thanks for your help
regards
serge