My Visual Studio Solution has a GlobalAssemblyInfo.cs to assign version info to the binaries etc...
The build number I use for example is 3.4.* which means 3 is the major version, 4 is the minor version and the wildcard gives me an automated build and iteration number.
My Test environments can have multiple versions of my application deployed at any one time.
This was controlled manually in the past by appending the major and minor version numbers to the application pool name and web application names, e.g.
- ApplicationPool_3_2
- ApplicationPool_3_3
- ApplicationPool_3_4
- ....
I'm attempting to get all of this into TFS Release Management and have got my build working and firing a release which creates the application pool and web application etc... But I can't work out how to get the major and minor version numbers into TFS Release Management so that I can name the application pool and web application correctly.
I'm using Visual Studio 2013.4, TFS 2013.4 and Release Management 2013.4. All of which are on premise.