The steps to publish a new version are:
- Download a backup of the VSIX file from the marketplace. We want to do this in case there's an undiscovered issue with the new version and we need to rollback to the previous version. The marketplace does not provide an easy way to rollback to a previous version, and the complicated build setup of the project can make it hard to reproduce an old VSIX file, even when we are able to rollback to its commit.
- Update the appropriate project's
source.extension.vsixmanifest
file to have a newVersion
number; follow sematic versioning guidelines. - Build the project in
Release
mode to generate the new .vsix file in the project'sbin\Release
directory. - Manually uninstall the old version and install the new version using the .vsix file.
- Test all of the functionality to ensure nothing is broken.
- If the new version is working as expected, publish the new version to the Visual Studio extensions marketplace.