DesktopApplication.BugVersion

From Xojo Documentation

Revision as of 18:11, 23 July 2021 by Gperlman (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

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

New in 2021r3

Supported for all project types and targets.

The version you increment when the release of your application is only to fix critical and unexpected bugs in the previous release.

Notes

This can only be set in the IDE, but you can read the value in your code.

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

fa-info-circle-32.png
On Windows valid values are between 0 to 255.

Sample Code

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

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