There is no out-of-the-box support for this, but it should be possible to implement it. You will need to use the AssemblyInfo task (available on GotDotNet, I believe), and you'll need to come up with a method for determining the next number. One possibility would be to add a text file to version control that contains your number and then write a custom task to check it out, increment the number (and return it), and check it back in. Another possibility would be to use your number for both the version number on the assembly and for the Team Build BuildNumber. Then you could use the GetListOfBuilds web method (on the BuildStore service) to get all the builds, sort them by number, and add one to the last number you find.
-Aaron
|