.NET: Large revision numbers in AssemblyVersionAttribute

前端 未结 4 1322
遥遥无期
遥遥无期 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:19

    One option might be to just use the [AssemblyFileVersion]; this still raises a warning, but it'll build, at least:

    [assembly: AssemblyFileVersion("1.0.0.80000")]
    

提交回复
热议问题