-
Notifications
You must be signed in to change notification settings - Fork 0
Home
BumpAssemblyVersions
is an MSBuild 15+ based task that bumps the versions of a Visual Studio project. Testing done on CSharp projects only, i.e. .csproj
or AssemblyInfo.cs
files, at this time. We support both the SDK style .csproj
as well as legacy project files, although the protocol recommendations are a bit different between the two styles.
I wanted to automate a seamless version bumping mechanism for my projects as I continued to work on them, yet with a variety of strategies and choices in terms of how I decided to bump the versions. Along these lines, I evaluated a couple of projects as potential fits for this purpose, both of which informed my approaching the problem at hand, but neither of which adequately solved the issue in its entirety, in my professional opinion.
I took a look at MSBump, which in and of itself, basically did what I wanted it to do. However, it lacked in terms of the versions I can influence, and in terms of the breadth of bumping strategies. Credit where it is due, at the time of this writing, it seems as though the repository has been public archived; we are unaware of any direct migration paths from this particular package source, outside BumpAssemblyVersions
, of course, which we strongly recommend.
I also took a look at Precision Infinity Automatic Versions, which did offer the breadth of versioning strategies, but which was too invasive, in my opinion, in terms of hooking into my projects, let alone the painful installation procedure. As far as we are aware, at the time of this writing, AV
has released in a v2
since we last discovered its existence.
Take aways from this, at least in this professional's opinion, gone are the days of installed extensions, I think. If you are not delivering at least a VSIX
, let alone a simple development only NuGet package, chances are your product will be left in the stone ages. Perhaps a naive outlook; I do think the tools NuGet
package delivery is better, at least in some cases.
Given these two points, I drew from the best of both of these and delivered BumpAssemblyVersions
, which has the flexibility of a development only NuGet
available assembly version bumping package, as well as a breadth of version bumping strategies.
BumpAssemblyVersions