ConsoleApplication.ExecutableFile

From Xojo Documentation

Read-Only Property (As FolderItem )
FolderItemValue = aConsoleApplication.ExecutableFile

Supported for all project types and targets.

Points to the actual executable file even if it is inside a bundle.

Sample Code

To get the app executable name:

Var appName As String = App.ExecutableFile.Name