如何离线安装适用于 Windows 10 的 D3D11 SDK 层 [英] How to install D3D11 SDK Layers for Windows 10 offline
问题描述
我在 VS2015 中调试 D3D 应用程序时遇到以下错误.
D3D11CreateDevice:已指定标志 (0x2),需要适用于 Windows 10 的 D3D11 SDK 层,但系统上不存在这些标志.必须删除这些标志,或者必须安装 Windows 10 SDK.标志包括:D3D11_CREATE_DEVICE_DEBUG
我知道我需要在 Win10 中启用图形工具或运行 Dism/online/add-capability/capabilityname:Tools.Graphics.DirectX~~~~0.0.1.0
来启用它.p>
但是我正在使用的机器不允许连接到互联网.有没有办法离线启用?
非常感谢.
对于 Windows 10 的 2015 年 11 月更新(内部版本 10586),您可以找到 的 Feature On Demand CAB图形工具包这里.您可以通过 dism
安装它,如该软件包的文档中所述.
请记住,Windows 10 中有很多东西是 Windows 的许多按需功能"部分,包括 .NET 3.5、语言包等.
I got the following error when I was debugging my D3D application in VS2015.
D3D11CreateDevice: Flags (0x2) were specified which require the D3D11 SDK Layers for Windows 10, but they are not present on the system. These flags must be removed, or the Windows 10 SDK must be installed. Flags include: D3D11_CREATE_DEVICE_DEBUG
I know I need to enable Graphics Tools in Win10 or run Dism /online /add-capability /capabilityname:Tools.Graphics.DirectX~~~~0.0.1.0
to enable it.
But the machine I am working on are not allowed to connect to the internet. Is there a way to enable that offline?
Thanks a lot.
For the November 2015 update (build 10586) of Windows 10, you can find the Feature On Demand CABs for the Graphics Tools package here. You can install it via dism
as noted in the documentation with that package.
Keep in mind that there's a lot of stuff in Windows 10 that's a number of 'feature on demand' parts of Windows including .NET 3.5, language packs, etc.
这篇关于如何离线安装适用于 Windows 10 的 D3D11 SDK 层的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!