如何离线安装适用于Windows 10的D3D11 SDK图层

时间:2015-12-16 17:35:34

标签: windows-10 direct3d direct3d11

在VS2015中调试D3D应用程序时出现以下错误。

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

我知道我需要在Win10中启用图形工具或运行Dism /online /add-capability /capabilityname:Tools.Graphics.DirectX~~~~0.0.1.0来启用它。

但我正在处理的机器不允许连接到互联网。有没有办法让它离线?

非常感谢。

2 个答案:

答案 0 :(得分:7)

对于Windows 10的2015年11月更新(版本10586),您可以找到图形工具here功能随需应变 CAB。您可以通过dism安装它,如该软件包的文档中所述。

请注意,Windows 10中的许多内容都是按需提供的一些功能。 Windows的一部分,包括.NET 3.5,语言包等。

答案 1 :(得分:0)

不确定,但也许可以从Win10的iso中安装图形工具?