auto versioning?
-
hi, any method to add versioning information automatically in .NET? or, any method to place the build date/time in the source file then i can read it back in the binary? thanks, jim
No, but you can easily read the PE filetimestamp using the following.
DateTime compiletime = new DateTime(1970, 1,1).AddSeconds(BitConverter.ToUInt32(data, 136));
where
data
is a byte[] representing the PE file (assembly). xacc-ide 0.0.15 now with C#, MSIL, C, XML, ASP.NET, Nemerle, MyXaml and HLSL coloring - Screenshots -
hi, any method to add versioning information automatically in .NET? or, any method to place the build date/time in the source file then i can read it back in the binary? thanks, jim
do you mean something like this: Versioning Controlled Build[^]
-
do you mean something like this: Versioning Controlled Build[^]