David Brunelle
David Brunelle

Reputation: 6430

Use Dll of the same name for different projects

I am trying to develop a small utility program that will be deployed with other application that we already have. In order to make the utility work, I need to know the connectionString used by the application to access the database.

Since I have old and new applications, they have different ways to connect to the database. So I figured the way I would do it is something like that

What I wanted to do was to simply include the utility in the same folder as the application and use the Connect.dll found within the folder. So far though, unless I copy the original dll found within my utility project, the utility will crash. Is there any way to do this ?

Regards,

Upvotes: 1

Views: 54

Answers (1)

Ignacio Soler Garcia
Ignacio Soler Garcia

Reputation: 21855

Create a non signed assembly and enforce that all the clients use the same assembly version with (of course) the same signature.

In your utility set the property "Specific Version" to False.

This should do the trick.

Upvotes: 1

Related Questions