.NET: Large revision numbers in AssemblyVersionAttribute

前端 未结 4 1310
遥遥无期
遥遥无期 2021-01-30 17:12

We have the convention of versioning our builds as [major].[minor].[micro].[revision], e.g. 2.1.2.33546.

Our build-script automatically updates an AssemblyInfo.cs file c

4条回答
  •  北恋
    北恋 (楼主)
    2021-01-30 17:30

    We decided to use the same convention, and due to the limitations of Windows version numbers we chose to drop the "micro" part of our version numbers in order to preserve the revision number. Our version numbers are now [major].[minor].[revision / 10000].[revision % 10000], so the assemblies built from revision 65535 have the version 2.01.6.5535.

提交回复
热议问题