Click here to Skip to main content
14,037,996 members
Click here to Skip to main content
Add your own
alternative version


9 bookmarked
Posted 4 Oct 2016
Licenced CPOL

Releasing a Visual Studio Extension

, 23 Oct 2016
Rate this:
Please Sign up or sign in to vote.
How I avoid embarrassing releases (now)


In the past, I've uploaded a VSIX file without installing it on my own machine only for people to complain that it won't install due to versioning issues. Now I have a script that checks things without myself having to remember where to look.

Running the Script

Running the script produces the following tail of output:

[assembly: AssemblyVersion("")]
[assembly: AssemblyFileVersion("")]
[assembly: AssemblyVersion("")]
[assembly: AssemblyFileVersion("")]
DeepEnds version 1.6
DeepEnds version 1.6
DeepEnds version 1.6
    <Identity Id="DeepEnds.Zebedee Mason.2cdf4910-bf53-4266-baa4-95d2960e902a" Version="1.6" ...
    [InstalledProductRegistration("#110", "#112", "1.6", IconResourceID = 400)] // Info on this package

The script does the following operations:

  1. Traverses the solution directory looking for AssemblyInfo.cs files and prints the lines starting with [ and containing Version
  2. Prints the first line of the release notes file
  3. Prints the first line of the license file
  4. Prints the first line of the usage file
  5. Prints the fourth line of the vsixmanifest file - this is used by the installer to check it is a different version
  6. Prints a line of the Package file - this is shown in Help -> About Microsoft Visual Studio

This allows for easy checking that I've remembered to roll forward the version numbers. Note I now install the release as well.


  • 2016/10/04: First release
  • 2016/10/12: Added the sixth check, described the fifth
  • 2016/10/23: Added the fourth check


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Zebedee Mason
United Kingdom United Kingdom
Mathematician turned freelance Software Engineer with over 20 years experience, mainly in the development of CAD/CAM/CAE software. Generally worked for smaller businesses - although have been at Lloyd's Register, Siemens and Rolls-Royce. Enjoy living on the edge of the Peak District where I go cycling and hiking.

You may also be interested in...


Comments and Discussions

-- There are no messages in this forum --
Permalink | Advertise | Privacy | Cookies | Terms of Use | Mobile
Web03 | 2.8.190425.1 | Last Updated 23 Oct 2016
Article Copyright 2016 by Zebedee Mason
Everything else Copyright © CodeProject, 1999-2019
Layout: fixed | fluid