Loading ?

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.
 
P

Pavel Minaev

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).
 
T

Tom

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
 
T

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.
 
P

Pavel Minaev

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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top