Charu
Charu

Reputation: 2717

How to use older version assembly in GAC when newer versions are also available?

I have an assembly with multiple versions, all have been deployed in GAC. Now by default the latest version assembly is used by the program which uses it, how do i use any previous versions?

Upvotes: 0

Views: 337

Answers (1)

Frederik Gheysels
Frederik Gheysels

Reputation: 56964

You can use an assembly publisher policy in order to do that.

Now by default the latest version assembly is used by the program which uses it

Are you sure about that ? Isn't it so that the version that was referenced by your program during compile-time, is being used ?

Upvotes: 1

Related Questions