What are differences between AssemblyVersion, AssemblyFileVersion and AssemblyInformationalVersion?

前端 未结 7 2342
离开以前
离开以前 2020-11-22 11:51

There are three assembly version attributes. What are differences? Is it ok if I use AssemblyVersion and ignore the rest?


MSDN says:

7条回答
  •  自闭症患者
    2020-11-22 12:10

    When a assembly' s AssemblyVersion is changed, If it has strong name, the referencing assemblies need to be recompiled, otherwise the assembly does not load! If it does not have strong name, if not explicitly added to project file, it will not be copied to output directory when build so you may miss depending assemblies, especially after cleaning the output directory.

提交回复
热议问题