Nerdbank.GitVersioning can automatically stamp the VSIXs you build with the version calculated from your version.json file and git height.
- Install the Nerdbank.GitVersioning NuGet package into your VSIX-generating project.
- Open the
source.extension.vsixmanifest
file in a code editor and set thePackageManifest/Metadata/Identity/@Version
attribute to this value:|%CurrentProject%;GetBuildVersion|