user987372
user987372

Reputation: 19

Load two DLLs with different versions

I am developing a project in which I have to create a new feature.

Now I am facing a problem that there is a DLL reference in a project with old version and for developing the feature I need a new dll with new version so it's not possible to use both DLLs in the same project but both DLLs are required to run the features.

What is the best technique to solve this?

Upvotes: 1

Views: 690

Answers (2)

satish kumar
satish kumar

Reputation: 453

Create 2 shared assemblies and put it in GAC. check this link, this will solve your problem.

http://geekswithblogs.net/narent/archive/2008/11/11/126940.aspx

Upvotes: 2

abc
abc

Reputation: 2437

The best solution for your problem is the global assembly cache (gac)

use the tool gacutil.exe and add both of your assemblys to the gac. It works great for using different versions of on dll-file

try to google for it, gac will help you ;)

Upvotes: 0

Related Questions