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

> MicrosoftGame.config 元素 - TargetDeviceFamilyForDLC

# MicrosoftGame.config 元素 - TargetDeviceFamilyForDLC

指定 DLC 包构建所针对的目标平台。允许值为 XboxOne、Scarlett 和 PC。

## 父元素

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

## 要求

此元素为可选项，不要求必须设置。

## 平台

此元素适用于 PC 和主机。

## 行为

* 无属性。
* 无默认值。
* 允许值为 XboxOne、Scarlett 和 PC。

## 备注

* 创建 DLC 内容包时，需要 TargetDeviceFamilyForDLC 元素。
* 此元素应与 DLC 所关联主产品的可执行文件所指定的 TargetDeviceFamily 属性匹配。

## 另请参阅

[MicrosoftGame.config 参考 - 目录](/reference/system/microsoftgameconfig/elements/gc-microsoftgameconfig-toc)


## Related topics

- [MicrosoftGame.config 元素 - Resource](/zh-CN/reference/system/microsoftgameconfig/elements/microsoftgameconfig-element-resource.md)
- [MicrosoftGame.config 元素 - Resources](/zh-CN/reference/system/microsoftgameconfig/elements/microsoftgameconfig-element-resources.md)
- [MicrosoftGame.config 元素 - SCID](/zh-CN/reference/system/microsoftgameconfig/elements/microsoftgameconfig-element-scid.md)
- [MicrosoftGame.config 元素 - Shareable](/zh-CN/reference/system/microsoftgameconfig/elements/microsoftgameconfig-element-shareable.md)
- [MicrosoftGame.config 元素 - SMTEnabled](/zh-CN/reference/system/microsoftgameconfig/elements/microsoftgameconfig-element-smtenabled.md)
