94
votes
10answers
55k views

How to have an auto incrementing version number (Visual Studio)?

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 ...
9
votes
4answers
15k views

How to check in delphi the OS version? Windows 7 or Server 2008 R2?

I always used to check the windows versions by their major/minor build numbers. Strangely enough, Windows 7 and Server 2008 R2, both return the same major/minor version number combination. Confirm ...
17
votes
17answers
2k views

Version numbering basics?

Suppose I have a web application with some basic functions. I want to market it. So I would like to assign a version number - something like 0.0.1. What I want to know is are there any constraints ...
0
votes
1answer
244 views

How can I display the Build number and/or DateTime of last build in my app?

I know that I can do this to get the app's official (release/publish) version number: string version = Assembly.GetExecutingAssembly().GetName().Version.ToString(); this.Text = ...
19
votes
3answers
6k views

Getting runtime version of a Silverlight assembly

I want to show my Silverlight 3 application's version number in the about box, but when I use a traditional .Net call like: Assembly.GetExecutingAssembly().GetName().Version; I get a ...
6
votes
7answers
5k views

Add a version number to the title of a LaTeX document

The title section of my LaTeX documents usually look like \title{Title} \author{Me} %\date{} %// Today's date will appear when this is commented out. \begin{document} \maketitle I'd really ...