Skip to content

sergey-visual-studio/build-output-version

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

Overview

Included MSBuild targets file uses VSIX manifest version to generate output .vsix package file with version suffix. Additionally, it automatically updates package assembly version and file version with the same VSIX manifest version.

How To Use

  • Copy usysware.targets to your VSIX project root folder
  • Add usysware.targets to your VSIX project as follows:

<Import Project="$(MSBuildProjectDirectory)\usysware.targets" />

  • Make sure usysware.targets is added after Microsoft.VsSDK.targets
  • Modify AssemblyInfo and remove AssemblyVersion and AssemblyFileVersion attributes

Troubleshooting

This targets file is tied to .vsixmanifest file changes. Thus it doesn't pick up on any AssemblyInfo changes. If project build fails due duplicate attributes error then simply initiate a full project re-build.

About

Automatically generate output VSIX package with version number

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published