我不知道如何为Visual Studio 2017安装Windows 10 SDK。
我下载并运行Windows 10 SDK安装程序,它显示 Please find winsdksetup.exe in ....\Windows kits\10\WindowsSDK to install Windows Software Development Kit - Windows 10.0.17134.12.
运行时winsdksetup.exe
,它会带我经历相同的循环,在该循环中,将一堆可执行安装程序下载到此目录中并显示相同的消息。
当我尝试在VS2017中构建DirectX项目时,出现错误:
MSB8036 The Windows SDK version 10.0.16299.0 was not found. Install the required version of Windows SDK or change the SDK version in the project property pages or by right-clicking the solution and selecting "Retarget solution".
我需要安装其中一个安装程序吗?我需要运行哪一个程序才能为Visual Studio构建和调试DirectX项目?专门使用VS2017着色器调试功能。
谢谢,
编辑:在VS2017-工具->获取我已经检查过的工具和功能
用C ++开发游戏
在可选项下
C ++分析工具Windows 10 SDK(10.0.17134.0)
我正在下载16299.0,它修复了没有正确的SDK的第一个错误。
但是现在我Failed Creating the Direct3D device
在Debug中运行时收到运行时错误。我仍然可以在Release中运行示例
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句