So, what does the asterisk(*) mean in AssemblyVersion("1.0.*")?

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了半天都找不到说明.

posted on 2007-12-29 14:45  deerchao  阅读(298)  评论(0编辑  收藏  举报