Auto Versioning in Visual Studio 2017 (.NET Core)

后端 未结 16 1463
一整个雨季
一整个雨季 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:30

    I have been looking for a version incrementer for a .NET Core app in VS2017 using the csproj configuration format.

    I found a project called dotnet bump that worked for the project.json format but struggled to find a solution for the .csproj format. The writer of dotnet bump actually came up with the solution for the .csproj format and it is called MSBump.

    There is a project on GitHub for it at:

    https://github.com/BalassaMarton/MSBump

    where you can see the code and it's available on NuGet too. Just search for MSBump on Nuget.

提交回复
热议问题