> ## 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.

# MicrosoftGame.config 要素 - GameOsVersion

> 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 リファレンス - 目次](/reference/system/microsoftgameconfig/elements/gc-microsoftgameconfig-toc)


## Related topics

- [MicrosoftGame.config リファレンス](/ja-jp/reference/system/microsoftgameconfig/elements/gc-microsoftgameconfig-toc.md)
- [MicrosoftGame.config 要素 - Game](/ja-jp/reference/system/microsoftgameconfig/elements/microsoftgameconfig-element-game.md)
- [MicrosoftGame.config 要素 - Identity](/ja-jp/reference/system/microsoftgameconfig/elements/microsoftgameconfig-element-identity.md)
- [MicrosoftGame.config 要素 - Dependency](/ja-jp/reference/system/microsoftgameconfig/elements/microsoftgameconfig-element-dependency.md)
- [MicrosoftGame.config 要素 - MSAAppId](/ja-jp/reference/system/microsoftgameconfig/elements/microsoftgameconfig-element-msaappid.md)
