GAC и управление версиями блока [закрываются]

5
задан Community 23 May 2017 в 12:03
поделиться

1 ответ

1) Depends on what kind of changes you make to fix the bug. If you change any public interfaces or make significant changes to behaviour, I'd bump the assembly version number. If not, you can do what Microsoft does an only version the file.

2) Assembly version is all that the GAC cares about. So if you want two identically named assemblies to live side by side, they have to differ by assembly version.

3) I would likely change the assembly version number, and include publisher policy to redirect clients of the old version to the new.

4) Same as 3 but don't include publisher policy, or configure A to bypass it.

5) & 6) No, it's installed side by side.

7) I don't think so, but it may depend on if they differ in file version. I'm sure you can try it to verify.

8) There are references that may be used to prevent accidental removal. MSI uses that, so if you use MSI for installing, it keeps track of references to the assembly and doesn't remove it until all apps are uninstalled. If you do it manually (say using Gacutil /uf) you can screw things up.

4
ответ дан 15 December 2019 в 01:03
поделиться
Другие вопросы по тегам:

Похожие вопросы: