KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I want to store a set of integers that get auto incremented at build time: int MajorVersion = 0; int MinorVersion = 1; int Revision = 92; When I compile, it would auto-increment Revision . When I build the setup project, it would increment MinorVersion (I'm OK with doing this manually). MajorVersion would only be incremented manually. Then I could display a version number in menu Help/About to the user as: Version: 0.1.92 How can this be achieved? This question asks not only how to have an auto-incrementing version number, but also how to use that in code which is a more complete answer than others.
Tags (comma-separated)
Save Edits
Cancel