Based on http://autobuildversion.codeplex.com/, this extension increments the version of an assembly or assemblies based on the specified configuration.
Based on Yogesh Jagota's Build Version Increment Add-In, this is a re-write of that extension targeting Visual Studio 2015. I've tried other add-ins for this task, and while they did the job, Yogesh's add-in had the best level of configurability for my needs. Unfortunately, the replacements broke Visual Studio when Update 2 was released, so I decided to take the source for the old add-in and port it.
fixing an issue were a build error is logged when the active item in solution explorer is a solution folder or a file outside of a solution.
widened pre-requisite range in manifest
Trying to sort out these dependency issues. All Nuget packages have been rolled back to the lowest versions that should maintain backward-compatibility with VS 2015 and allow installation in VS 2019 Preview. If this doesn't work then I'll have to split the extension into 2 versions :-(
before reverting changes made by updating the solution to VS 2019, I've ensured that all nuget references are at the very latest versions which support VS 2015 onwards, according to Microsoft's documentation.
fixing dependency ranges to install correctly in VS2019. If the extension fails to update correctly, please uninstall, download the extension from the marketplace and then install manually: there seems to be an issue between VS and the marketplace when updating extensions that have had the display name changed. As the goal of recent updates was to get the extension working in VS2019 and the name implied compatibility with VS2015 and 2017 only, I removed the suffix. Apologies for any inconvenience caused.
trying to resolve update and re-installation issues caused by renaming the extension
updated to work in VS2019
updated references to work in VS2017 (15.7.5)
changed references to stabilise in VS2015
updated manifest to allow installation in VS2017
updated manifiest to allow installation in VS15
added year month stamp and year month day stamp.
changed the debug output to use StringBuilder.AppendLine rather than StringBuilder.Append
updated the day stamp and month stamp incrementors to add a leading zero if necessary.
added support for devenv command line builds: add a /IncrementVersion switch to your command line
added the open file dialog to the property grid for selecting target files.