4

I modified my project's AssemblyInfo.cs as following:

[assembly:AssemblyVersion("1.0.*")]
//[assembly:AssemblyFileVersion("1.0.0.0")]

This updated the dll file version. However, the Build Number and Revision number appear to be some random integers. Is it possible to specify the start point for Build/Revision number or override them while using TFS 2010 build ?

Thanks.

laconicdev
  • 6,360
  • 11
  • 63
  • 89

1 Answers1

3

For the meaning of * I would take a look at What are differences between AssemblyVersion, AssemblyFileVersion and AssemblyInformationalVersion?

To increment automaticaly the build numbers I would implement the AssemblyInfoTask http://code.msdn.microsoft.com/AssemblyInfoTaskvers

I would follow the steps in http://www.ewaldhofman.nl/post/2010/05/13/Customize-Team-Build-2010-e28093-Part-5-Increase-AssemblyVersion.aspx to increment automaticaly the version in TFS 2010.

Community
  • 1
  • 1
BeardinaSuit
  • 889
  • 7
  • 21