Hope fully the title was somewhat descriptive.
I have a winform application written in C# with .net 2.0. I would like to have the last compile date automatically updated to a variable for use in the about box and initial splash box. Currently I have a string variable that I update manually. Is there any way to do this?
VS2008
.net 2.0
c#
Another trick (which you may not be able to use) is to leverage the automatic build and revision numbers generated by .NET. If your AssemblyInfo has:
The last two numbers are just a date/time stamp. Some code (list below) may help:
Edit: here’s an alternative answer that may be a little clearer to follow than what I put:
https://stackoverflow.com/a/804895/2258