AssemblyInfo version information asterisks

前端 未结 4 1725
梦毁少年i
梦毁少年i 2020-12-25 09:54

It says in AssemblyInfo.cs for C# projects that it\'s possible to specify version information with *

// Version information for an assembly cons         


        
4条回答
  •  渐次进展
    2020-12-25 10:24

    In my opinion, using [assembly: AssemblyVersion("x.y.z.*")], Patch shouldn't be automatically numbered. Eg:

    [assembly: AssemblyVersion("1.2.3.*")]

    Using '*' in AssemblyVersion is good, but follow seemver.org we should use * for the revision part from version structure ...).

    Given a version number MAJOR.MINOR.PATCH, increment the:

    MAJOR version when you make incompatible API changes,

    MINOR version when you add functionality in a backwards-compatible manner, and

    PATCH version when you make backwards-compatible bug fixes.

提交回复
热议问题