且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Visual Studio 2017 (.NET Core) 中的自动版本控制

更新时间:2022-02-24 08:35:17

我一直在为 VS2017 中的 .NET Core 应用程序寻找一个使用 csproj 配置格式的版本增量器.

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

我发现了一个名为 dotnet Bump 的项目,它适用于 project.json 格式,但很难找到适用于 .csproj 格式的解决方案..csproj 格式的解决方案实际上是 dotnet Bump 的作者提出的,称为 MSBump.

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.

GitHub 上有一个项目位于:

There is a project on GitHub for it at:

https://github.com/BalassaMarton/MSBump

您可以在何处查看代码,并且 NuGet 上也提供了该代码.只需在 Nuget 上搜索 MSBump.

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