Incrementing A "Build" number

Is there any way to increment a build number each tim I hit “build” of my application. Currently I am doing it by hand. Needless to say at 3;04 AM when Im grumpy I “Short cut” the issues and it causes me grief later.

In Build Settings (lower left part of XOJO window) select Shared, and on the right side turn Auto Increment Version Info to ON, that will increase Non Release Version number by one, every time you build (Run will not affect this).
You can reach this property via app.NonReleaseVersion in your code.

1 Like