> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 版本信息 (xbVersionInfo.exe)

> 版本信息 (xbVersionInfo.exe)

使用此工具显示二进制文件的 Gaming eXtensions Development Kit (GXDK) 和 XBOX One XDK 版本信息、当前安装的 GXDK 和 XDK 工具的版本信息,或开发 PC 上当前安装的开发套件的版本信息。

| 列 1                                                   |
| ----------------------------------------------------- |
| **xbversioninfo** \[/F:file] \[/Tools] \[/GXDK] \[/B] |

| 选项      | 说明                                                                                              |
| ------- | ----------------------------------------------------------------------------------------------- |
| /F:file | 显示版本信息,指示用于构建此二进制文件的开发套件。此操作仅对通过开发套件构建的二进制文件有效。**注意:** **/F** 不能与 **/GDK** 或 **/Tools** 开关一起使用。 |
| /Tools  | 显示当前安装的 Gaming eXtensions Development Kit (GXDK) 和 XDK 工具的版本信息。                                 |
| /GDK    | 显示当前安装的开发套件的版本信息。                                                                               |
| /B      | 使用简洁输出格式。                                                                                       |

<a id="ID4EYB" />

## 示例

```
XBVERSIONINFO /F:mygame.exe
XBVERSIONINFO /F:mygame.exe /B
XBVERSIONINFO /GDK
XBVERSIONINFO /GDK /B  
```

<a id="ID4E5B" />

## 另请参阅

[命令行工具](/tools/tools-console/commandlinetools/commandlinetools)


## Related topics

- [面向主机开发的命令行工具](/zh-CN/tools/tools-console/commandlinetools/commandlinetools.md)
- [命令行工具](/zh-CN/tools/tools-console/commandlinetools/index.md)
- [XVersion](/zh-CN/reference/system/xgameruntimetypes/structs/xversion.md)
- [XtfGetTitleOSFourPartVersion](/zh-CN/reference/tools/xtf/xtfapi/functions/xtfgettitleosfourpartversion-xtfapi-xbox-windows-m.md)
- [XSystemAnalyticsInfo](/zh-CN/reference/system/xsystem/structs/xsystemanalyticsinfo.md)
