user1835440
user1835440

Reputation: 1

Global Assembly Cache redirection

I have two DLLs with same assembly version but Assembly File Version. One DLL is present in the gac, i want every app referencing to the DLL present in GAC to get redirected to the other assembly. How can i do that?

Upvotes: 0

Views: 350

Answers (1)

Lars Truijens
Lars Truijens

Reputation: 43595

I'm sorry you can't. You either have to put the assembly you want to redirect to in the GAC or put it alongside each exe that is referencing the old one. Then you can use a publisher policy, change all app.configs or the machine.config. You can read more about it here.

Upvotes: 2

Related Questions