Can I reset build number in TFS 2010.
And another question.
If Project have several build definitions, Can I keep build number for each build definition.
Not create custom activity
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The build number is set using the build number template that you specify in the Build Definition. When editing your Build Definition go to the Process tab -> Build Number Format field and you can customize what you want the build numbers to look like.
The default format is: $(BuildDefinitionName)_$(Date:yyyyMMdd)$(Rev:.r)
Which will give you a build number comprsied of your Build Definition Name, the current date, and a numeric revision on the end to ensure uniqueness.