Including Build Date strings in a C# project
Posted
by David Rutten
on Stack Overflow
See other posts from Stack Overflow
or by David Rutten
Published on 2010-04-29T20:44:24Z
Indexed on
2010/04/29
20:47 UTC
Read the original article
Hit count: 248
I'd like to hard code the build date into my application (DD-mmmm-YYYY), but how do I embed this constant into the code?
I thought perhaps I could make a pre-build event that executes a *.bat file that updates a textfile which is resourced, but it sounds pretty involved. What's the best approach?
© Stack Overflow or respective owner