Hi,

I have an application where I have to use two dll files as reference to my project. The thing is, my dll files both have the same name, but are something like different versions. I am not able to add both as references becoz of clash in name. And I cannot change the name of one of the dll files, as it is a very huge task of changing other fragments of code.

What can I do to add both as reference. Someone help me please

As far as I know you can't do that easily. You could load one DLL in a separate app domain and access it via remoting. You could also "hack" one of the DLLs and change the version, namespace, name, etc.

To modify a DLL you need the .NET Reflector and Reflexil.

Assembly loading across appdomains:
http://west-wind.com/weblog/posts/601200.aspx?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+RickStrahl+(Rick+Strahl's+WebLog)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.