So, what does the asterisk(*) mean in AssemblyVersion("1.0.*")?
2007-12-29 14:45
821 查看
from: http://msdn2.microsoft.com/en-us/library/c405shex(vs.71).aspx
If you specify major and minor, you can specify an asterisk (*)for build. This causes build to be equal to the number of days since January 1, 2000, local time, and revision to be equal to the number of seconds since midnight, January 1, 2000, local time, divided by 2.
在使用VS自带的版本生成系统时,如果让它自动生成版本的build number和revision number的话,默认情况下生成的build号是从2000年1月1日0点0分以来(到生成这个版本时)所经历的整天数,revision号是所经历的时间减去整天数之后,剩下的秒数除以2(不除以2的话,一天有8万多秒,超过了Int16的最大值).
奇怪地是Google了半天都找不到说明.
If you specify major and minor, you can specify an asterisk (*)for build. This causes build to be equal to the number of days since January 1, 2000, local time, and revision to be equal to the number of seconds since midnight, January 1, 2000, local time, divided by 2.
在使用VS自带的版本生成系统时,如果让它自动生成版本的build number和revision number的话,默认情况下生成的build号是从2000年1月1日0点0分以来(到生成这个版本时)所经历的整天数,revision号是所经历的时间减去整天数之后,剩下的秒数除以2(不除以2的话,一天有8万多秒,超过了Int16的最大值).
奇怪地是Google了半天都找不到说明.
相关文章推荐
- What does the 11 mean in INT(11)?
- What does the [Flags] Enum Attribute mean in C#?
- What does the first letter "c" mean in "calloc"?
- What does idl attribute mean in the W3C html5 standard document?
- What does the distance attribute in DMatches mean?
- what does the three dots in “doInBackground(URL… urls)” mean?
- In Javascript, what does this underscore mean?
- This version does not support documents saved in the Xcode 8
- Description Resource Path Location Type Java compiler level does not match the version of the in解决方法
- What does (Aborted) mean in HttpWatch?
- Description Resource Path Location Type Java compiler level does not match the version of the in...
- What does wildcard address in InetSocketAddress mean?
- What does “=>” mean in import in scala?(转自StackOverflow问答)
- What does [SimpleType] and [Compact] in bindings mean?
- The version of SQL Server in use does not support datatype 'datetime2'.
- The usage of the Javascript method call and apply(what is the new and object.create difference.)(What does call(null) mean?)
- ADO.NET Entity Framework: The version of SQL Server in use does not support datatype 'datetime2'
- Compiler Error Message: CS0234: The type or namespace name 'BorderDetails' does not exist in the class or namespace 'Infragistics.WebUI.Shared' (are you missing an assembly reference?)
- What Does __read_mostly In The Linux Kernel Do?
- The value of CFBundleShortVersionString in your WatchKit app's Info.plist (1.0) does not match