Using different version dll's

J

Jon

Hello all,

We have a small problem which I'm sure there must be an answer, I just
don't know it!

We have written a server control that, as part of the package uses a
number of custom written dll's.

Below is an example scenario:

V1 of our customer control uses V1 of dllA.dll and is packed up.
dllA.ll gets modified (for whatever reason and is re- released).
dllA is included into a web project that uses the V1 custom control.

We now have a situation were a custom control is using a old (and
maybe not compaitible) version of dllA, but because dllA is refernced
in the web project, it's overwritten (as all dlls are pulled into the
bin folder).

So, is it possible to have 2 dll's of the same name etc, but different
versions co-exist?

Thanks,

Jon
 
D

Doogie

If you are referring to .NET dll's (which I believe you are) then yes
you should be able to have two versions of the same dll by storing
them in the GAC. You'll also want to use publisher policy files I
believe to help control which app uses which version.

I am familiar with publisher policy files and versioning but do not
have enough experience to guide you on this. I would recommend doing
some reading on publisher policy files and versioning and see if that
doesn't help get you where you are trying to go.

I did find an article on publisher policy files from Microsoft that
might help:

http://msdn2.microsoft.com/en-us/library/dz32563a(VS.71).aspx
 

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

Members online

No members online now.

Forum statistics

Threads
473,990
Messages
2,570,211
Members
46,796
Latest member
SteveBreed

Latest Threads

Top