Shandy's Blog

Where Andrew Sutton, aka Shandy rants and rambles on as the fancy takes him

This blog hosted by:
http://blogs.vbcity.com      
  Home :: Syndication  :: Login

My name is Andrew Sutton, aka Shandy.

I am currently living and working in the UK within the garment industry as an IT specialist. This blog contains mainly IT related issues.

I was a Microsoft VB MVP for a couple of years (Apr 2004-Mar 2006) and was a vbCityLeader between April 2003 and June 2007.

If you are looking for my Sri Lanka or Morocco experiences check out Shandy's Sri Lanka Blog or Shandy's Morocco Blog.

AugSeptember 2008Oct
SMTWTFS
31123456
78910111213
14151617181920
21222324252627
2829301234
567891011

Articles

Archives

Topics

Image Galleries

.NET

Blogs I Read

Others

VB.Classic

Versioning Controlled Build Review

Versioning Controlled Build v1.3 Review

By Andrew Sutton

Introduction

Versioning Controlled Build (VCB) is a Visual Studio (VS) Add-On. It is written in C#. VCB provides a GUI mechanism for handling VS .NET version control. VCB uses the AssemblyInfo.* file (either VB or C# extension) AssemblyVersion attribute for storing the Major, Minor, Build & Revision numbers.

Note that you will need to follow the standard versioning structure of Major.Minor.Build.Revision for VCB to work correctly.

Installation

The download was a mere 76K and installation was from an msi file that took less than a minute. When I next started VS and loaded a project I found an entry under the Build menu. There was also a new Build toolbar available.

Use

When you want to increment the version number of your project just display the VCB GUI via the toolbar or menu entry. The GUI gives you a number of options for incrementing the revision number. By a simple button press you can increment the Major, Minor or Build revision number. You can then save this new revision number into the AssemblyInfo file, and build the project (in which case the Revision number is incremented).

There are a number of options you can set including whether to use Microsoft’s Date & Time based Build & Revision numbering scheme, whether Build numbers are reset when the Major or Minor version number is incremented, whether the Revision number is reset when the Major, Minor or Build numbers are incremented, and also whether to apply the Assembly version number to the File & Product version. numbers.

VCB also claims to be able multiple project versioning within a solution but as I currently am using single project solutions I was unable to test this option out.

Conclusion

This is an excellent tool that saves having to remember to manually edit the AssemblyInfo file each time you want to change a project’s version. The GUI provides a way of automating the increment of the revision number each time you build the project via the GUI and at the same time giving you an easy way of incrementing either the Major, Minor or Build revision. I have no hesitation rating this VS Add-On 5/5.

posted on Monday, November 15, 2004 2:17 PM