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

# GameOsVersion 要素 (MicrosoftGame.config)

> MicrosoftGame.config 要素 - GameOsVersion

# MicrosoftGame.config 要素 - GameOsVersion

このタイトルを実行するために必要な GameOS のバージョンを指定します。指定されていない場合は、現在実行中の GameOS または既定の GameOS が使用されます。

## 親要素

この要素の親は Game 要素です。

## 要件

この要素は省略可能で、設定は必須ではありません。

## プラットフォーム

この要素は Console デバイスのみに関係します。

## 動作

* 属性はありません。
* 既定値は、タイトルと並置されている (ルース ファイル ビルドの場合) か、または .xvc に埋め込まれている (パッケージ化されている場合) GameOs.xvd のバージョンです。
* 使用できる値は 4 つのパートから成るバージョン番号です (例: 10.0.18362.0)。

## 解説

* "The game host failed to start" を示す起動エラーが発生している場合は、MicrosoftGame.config で定義している GameOsVersion が、タイトルのビルドに使用している GameOsVersion と一致しているかどうかを確認することをお勧めします。

## 関連項目

[MicrosoftGame.config リファレンス - 目次](https://docs.xbox.com/ja-jp/reference/system/microsoftgameconfig/elements/gc-microsoftgameconfig-toc.md)


## Related topics

- [MicrosoftGame.config 要素リファレンス (目次)](https://docs.xbox.com/ja-jp/reference/system/microsoftgameconfig/elements/gc-microsoftgameconfig-toc.md)
- [WindowsOsVersion 要素 (MicrosoftGame.config)](https://docs.xbox.com/ja-jp/reference/system/microsoftgameconfig/elements/microsoftgameconfig-element-windowsosversion.md)
- [Game 要素 (MicrosoftGame.config)](https://docs.xbox.com/ja-jp/reference/system/microsoftgameconfig/elements/microsoftgameconfig-element-game.md)
- [Identity 要素 (MicrosoftGame.config)](https://docs.xbox.com/ja-jp/reference/system/microsoftgameconfig/elements/microsoftgameconfig-element-identity.md)
- [Dependency 要素 (MicrosoftGame.config)](https://docs.xbox.com/ja-jp/reference/system/microsoftgameconfig/elements/microsoftgameconfig-element-dependency.md)
