xbVersionInfo returns version information about binaries built with the XDK or about the XDK that is installed on your PC.
Note The version information included in your binaries is generated from version information defined in xdk.h (xdk\include\shared). By default xdk.h is included in all binaries built with the XDK, but if you have a custom build environment, you will need to ensure that it includes the xdk.h that matches the XDK your game is targeting in order to use this feature.
xbversioninfo [/F:file] [/XDK] [/Tools] [/B]
|
| Option | Description |
|---|---|
| /F:file | Displays version information that informs you which XDK was used to build this binary file. This operation is only valid against binary files built using the XDK. Note that /F cannot be used with the /XDK or /Tools switches. |
| /XDK | Displays version information for the currently installed XDK. Note that /XDK cannot be used with the /F or /Tools switches. |
| /Tools | Reports the version information for the currently installed XDK tools. Note that /Tools cannot be used with the /F or /XDK switches. |
| /B | Uses bare output format. |
XBVERSIONINFO /F:mygame.exe
XBVERSIONINFO /F:mygame.exe /B
XBVERSIONINFO /XDK
XBVERSIONINFO /XDK /B