Including Build Date strings in a C# project
- by David Rutten
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?