This website may use cookies. More info. That's Fine x
Welcome Login

Visual Studio: Getting project version number

Visual Studio 2010

To display assembly version number on your web page, you can use reflection to get the major, minor, build, and revision numbers:




Version number information comprises of:


You can increment version at:

Method 1:

Right click on project node > Properties > Assembly Information... button


Double click on Properties node of your project > Assembly Information... button




Method 2:

Properties/AssemblyInfo.cs file of your project.



Note: both of the above does the same thing.

Created on: Wednesday, March 16, 2011 by Andrew Sin