Just wondering what\'s the best approach to versioning of .NET builds?
I use:
I use [Major].[Minor].[BuildNumber].[revision]
I can then trace back to a build, which will give a changeset, which will give a work item etc.
You can use the community build tasks or I roll my own.
I do the same for MSI's and DacPac's
basically attrib the assemblyinfo file and then update the number using a regex, on a daily build leave the net version at the same value and just update the file version, so you can maintain compatability
the same method for the MSI's and the Dacapac's just different locations. in the MSI i have a Buildparams.wxi which has the following structure
Productversion is then used as var.Productversion in the wix scripts. pre build i update the 1.2.3.4 with the build number i want to use