multiple hosts?

Sep 13, 2010 at 4:32 PM

Hi!

I'm not sure whether I'm doing this the right way but I'm trying to have plugins ("parts") for two hosts residing in different directories which do not know each other. All the plugins sit in a third directory.

My Plugins therefore ought to implement two interfaces with one export attribute each.

The problem now is that each plugin references the two hosts. During load, naturally, the assembly resolution fails because each time, only one host is visible.

Is there a way to do some sort of lazy assembly resolution? Like, if I call an object only through one interface, there is no need to resolve the other one.

 

Generally, how does one do plugins for multiple hosts that may or may not be installed on the target system?

Is there a way to avoid a contract assembly in the GAC? Could a contract assembly be a part too?

Lots of Greetings!