【发布时间】:2011-12-19 00:55:24
【问题描述】:
遵循系统生成的 AssemblyInfo.cs 文件的 cmets 中的建议:
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
我设置(仅用于测试):
[assembly: AssemblyVersion("2.1.*")]
构建后,我得到版本号:2.1.4321.42563
然后,在对 AssemblyInfo.cs 文件进行小改动并再次构建之后,我得到了下一个版本:2.1.4321.42710
我想知道所有这些数字 (4321.42563; 4321.42710) 是什么意思? 系统生成它们的模式是什么?
【问题讨论】:
标签: visual-studio visual-studio-2010 version-control build