> ## 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 元素 - PublisherContent

> MicrosoftGame.config 元素 - PublisherContent

# MicrosoftGame.config 元素 - PublisherContent

声明此基础游戏支持由发布者托管的内容包。如果存在此元素，平台会读取你在子元素 [ManifestUrl](/zh-CN/reference/system/microsoftgameconfig/elements/microsoftgameconfig-element-manifesturl) 中指定的 URL 处的 JSON 清单，并将由发布者托管的内容包与基础游戏一起安装。有关详细信息，请参阅[发布者内容包](/zh-CN/build/core-features/common/packaging/packaging-publisher-content)。

## 父元素

此元素的父元素为 Game 元素。

## 要求

此元素是可选的。仅当你的基础游戏附带由发布者托管的内容包时才包含此元素。

## 平台

此元素适用于 PC 和主机。

## 行为

* 无属性。
* 无默认值。
* 需要一个 [ManifestUrl](/zh-CN/reference/system/microsoftgameconfig/elements/microsoftgameconfig-element-manifesturl) 子元素。

## 另请参阅

[MicrosoftGame.config 参考 - 目录](/zh-CN/reference/system/microsoftgameconfig/elements/gc-microsoftgameconfig-toc)\
[ManifestUrl 元素 (MicrosoftGame.config)](/zh-CN/reference/system/microsoftgameconfig/elements/microsoftgameconfig-element-manifesturl)


## Related topics

- [MicrosoftGame.config 元素 - PublisherContentBaseProduct](/zh-CN/reference/system/microsoftgameconfig/elements/microsoftgameconfig-element-publishercontentbaseproduct.md)
- [MicrosoftGame.config 元素 - ManifestUrl](/zh-CN/reference/system/microsoftgameconfig/elements/microsoftgameconfig-element-manifesturl.md)
- [MicrosoftGame.config Element - ContentIdOverride](/zh-CN/reference/system/microsoftgameconfig/elements/microsoftgameconfig-element-contentidoverride.md)
- [MicrosoftGame.config 元素 - ShellVisuals](/zh-CN/reference/system/microsoftgameconfig/elements/microsoftgameconfig-element-shellvisuals.md)
- [MicrosoftGame.config 元素 - SCID](/zh-CN/reference/system/microsoftgameconfig/elements/microsoftgameconfig-element-scid.md)
