Auto Versioning in Visual Studio 2017 (.NET Core)

后端 未结 16 1435
一整个雨季
一整个雨季 2020-11-28 18:45

I have spent the better part of a few hours trying to find a way to auto-increment versions in a .NETCoreApp 1.1 (Visual Studio 2017).

I know the the AssemblyInfo.cs

16条回答
  •  渐次进展
    2020-11-28 19:27

    I think this Answer from @joelsand is the correct answer for setting version number for dotnet core running on VSTS

    To add more information for this answer,

    BUILD_BUILDNUMBER is actually a predefined variable.

    It turns out there are 2 versions of predefined variable.

    One is build.xxxx, the other is BUILD_XXXX.

    You can only use Environment Variable Name in cproj.

提交回复
热议问题