如何离线安装Windows 10的D3D11 SDK图层 [英] How to install D3D11 SDK Layers for Windows 10 offline

查看:532
本文介绍了如何离线安装Windows 10的D3D11 SDK图层的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

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

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

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.

但是我正在使用的计算机不允许连接到Internet.有没有一种方法可以离线启用该功能?

But the machine I am working on are not allowed to connect to the internet. Is there a way to enable that offline?

非常感谢.

推荐答案

对于Windows 10的2015年11月更新(内部版本10586),您可以找到按需功能 CAB.图形工具程序包此处.您可以通过dism进行安装,如该软件包的文档所述.

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.

请记住,Windows 10中有很多东西是Windows的按需功能"部分,包括.NET 3.5,语言包等.

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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆