Assembly File Version not changing?

后端 未结 2 1468
梦如初夏
梦如初夏 2021-02-05 05:48

I have in my assemblyinfo.cs class the code:

[assembly: AssemblyVersion(\"1.0.*\")]
[assembly: AssemblyFileVersion(\"1.0.*\")]

Calling S

2条回答
  •  不思量自难忘°
    2021-02-05 06:13

    You cannot use 1.0.* to auto-increment the AssemblyFileVersion, only the AssemblyVersion. (Checked in all Visual Studio versions from 2005 to 2012).

    Comment out the following line

    [assembly: AssemblyFileVersion("1.0.*")]

    and the File Version will take the same number as the Assembly Version.

提交回复
热议问题