I'm using the following syntax to place into my assembly version's Revision value half the number of seconds in the day which have passed at the moment of compilation:

[assembly: AssemblyVersion("1.0.*")]

Windows Explorer shows the following two properties for the resulting assembly (XYZ is my doing and masks date information, which is irrelevant to my question):

File version: 1.0.XYZ.19527
Date modified: XYZ 11:50 AM

19527 times two comes to 10:50 AM -- why the one hour difference?

有帮助吗?

解决方案

The revision number is not taking Daylight Saving Time offset into account.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top