How to put the build date of application somewhere in the application?

后端 未结 4 1938
南旧
南旧 2020-12-28 09:39

I would like to put the date the application was built somewhere in the application. Say the about box. Any ideas how this can be done? I need to do this for C# but I am als

4条回答
  •  借酒劲吻你
    2020-12-28 10:23

    You should be using version control - Subversion is free. Then you could include a number from the version control system that would unambiguously identify the source code used to build the app. A date won't do that. There are other advantages too.

    • Full history of all changes to the project.
    • Work seamlessly with other developers on the same project.

    EDIT: Nikhil is already doing all this. But for some incomprehensible reason he has been told to include the date as well. I'm going to leave this answer here anyway, for future readers of this question.

提交回复
热议问题