Loading ?

  • Thread starter Thread starter Tom
  • Start date Start date
T

Tom

I'm currently writing some plug-in modules for a system that somebody else
is developing. They have provided my with an interface to implement, and
when I do, everything loads into their system fine.

I basically just implement their interface, and add a reference to their
library in VS2008.

However, a problem arises when they update their library version. My
plug-in will no longer load into their system.

Their directory structure looks like the following:

\Root dir with library version C\
\Root dir with library version C\subdirectory with plugin referencing
library version B\
\Root dir with library version C\subdirectory with plugin referencing
library version A\

Each subdirectory underneath the root has the version of the library located
in that directory. However, I think their system is loading version C, and
then not loading the appropriate plugins because those plugins were build
referencing a difference version of library.

They do not want to put every version of the library in the GAC. Is there
an easy way to fix this versioning problem so that all of the plugins will
load correctly?

Thanks.
 
Tom said:
I'm currently writing some plug-in modules for a system that somebody else
is developing. They have provided my with an interface to implement, and
when I do, everything loads into their system fine.

I basically just implement their interface, and add a reference to their
library in VS2008.

However, a problem arises when they update their library version. My
plug-in will no longer load into their system.

Their directory structure looks like the following:

\Root dir with library version C\
\Root dir with library version C\subdirectory with plugin referencing
library version B\
\Root dir with library version C\subdirectory with plugin referencing
library version A\

Each subdirectory underneath the root has the version of the library
located in that directory. However, I think their system is loading
version C, and then not loading the appropriate plugins because those
plugins were build referencing a difference version of library.

They do not want to put every version of the library in the GAC. Is there
an easy way to fix this versioning problem so that all of the plugins will
load correctly?

If the newer version of their library didn't change the interface (or
otherwise broke compatibility), then you could just avoid referencing the
specific version of their assembly (Specific Version = False in Properties
window for the reference).
 
Pavel Minaev said:
If the newer version of their library didn't change the interface (or
otherwise broke compatibility), then you could just avoid referencing the
specific version of their assembly (Specific Version = False in Properties
window for the reference).

Thanks Pavel,

It looks as though VS2008 set that setting as false by default. I'll go
back and make sure that their interface did not change.

Thanks again.
-- Tom
 
Tom said:
Thanks Pavel,

It looks as though VS2008 set that setting as false by default. I'll go
back and make sure that their interface did not change.

Thanks again.
-- Tom

Well, according to them, their interface hasn't changed in quite a while.
Any other ideas?

Thanks again.
 
Well, according to them, their interface hasn't changed in quite a while.
Any other ideas?

Can you obtain and post the code that describes how they programmatically
load those plugins?
 
Back
Top