From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

Read-Only Property (As Integer )
IntegerValue = aConsoleApplication.BugVersion

Supported for all project types and targets.

The Bug version of the ConsoleApplication. This can only be set in the IDE, but you can read the value in your code.


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

Sample Code

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

Var fullVersion As String
fullVersion = MajorVersion.ToString + "." + MinorVersion.ToString + "." + BugVersion.ToString + "." + NonReleaseVersion.ToString