Updating a DLL in the GAC

前端 未结 4 1499
醉酒成梦
醉酒成梦 2021-01-21 20:52

I have an API DLL that several third party applications reference.

Some of these applications want things two ways in terms of updates. 1) I want the latest stuff 2) D

4条回答
  •  無奈伤痛
    2021-01-21 21:31

    You can create an updated assembly, sign it and push it to the GAC so that the applications, which reference this assembly, won't notice the difference. You need to specify all parts of the version number (i.e. have the version number as 1.2.3.4 and not 1.2.3.* in AasemblyInfo.cs file) and use the same sn key. Then the version-specific reference won't be broken. And you'll be able to update your DLL as you need.

提交回复
热议问题