Application.NonReleaseVersion

From Xojo Documentation

Read-Only Property (As Integer )
IntegerValue = aApplication.NonReleaseVersion

Supported for all project types and targets.

The NonRelease version of the Application, corresponding to the version information. This can only be set in the IDE, but you can read the value in your code.

Notes

Some platforms also refer to this as the build or revision number.

Typically version numbers are written as 1.2.3.4 (MajorVersion.MinorVersion.BugVersion.NonReleaseVersion).

If AutoIncrementVersionInformation is checked, the IDE increases NonReleaseVersion by one each time you build your project, but not when you run it.

Sample Code

Puts all the individual versions together to create the full version:

Var fullVersion As String
fullVersion = Str(MajorVersion) + "." + Str(MinorVersion) + "." _
+ Str(BugVersion) + "." + Str(NonReleaseVersion)