找不到 SDK“Microsoft.VCLibs,版本 = 14.0";在 Windows 10 上 [英] Could not find SDK "Microsoft.VCLibs, Version=14.0" on Windows 10

查看:84
本文介绍了找不到 SDK“Microsoft.VCLibs,版本 = 14.0";在 Windows 10 上的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚安装了 Windows 10,想尝试使用 Windows 通用桌面应用程序.安装 Visual Studio 社区版后,没有此类项目的模板,我是通过 VS 手动安装的.在安装过程中,安装了三件事(据我所知是一些 SDK 版本).然后我在 Visual C# -> Windows -> Blank App (Universal Windows) 下创建了一个简单的项目,当我构建应用程序时,它说:

I have just installed windows 10 and wanted to give a try on windows universal desktop apps. With the installation of Visual Studio community version there were no templates for this kind of project, and I installed it manually via VS. In the process of installation there were three things installing (as far as i remember it was some SDK version). Then I created a simple project under Visual C# -> Windows -> Blank App (Universal Windows), and when I build the app its says:

找不到 SDKMicrosoft.VCLibs,版本 = 14.0".

Could not find SDK "Microsoft.VCLibs, Version=14.0".

我已经尝试在 google 上搜索,但此时只有两个结果.我很感激任何帮助.谢谢.

I already tried to search on google but only two results come at this time. I appreciate any help. Thanks.

推荐答案

如果您确实在 Winodws 8.1 或 Windows 10 开发系统上的 VS 2015 安装中缺少通用 Windows 应用程序的模板",那么您应该确保您实际上已经安装了 UWP 工具.默认情况下,它们未安装.您必须使用自定义"安装选项并选择它们.

If you are indeed "missing the templates" for Universal Windows apps for your VS 2015 installation on a Winodws 8.1 or Windows 10 development system, then you should make sure you actually have the UWP tools installed. They are not installed by default. You have to use the 'Custom' install option and select them.

您可以在安装后进入控制面板 -> 程序和功能 -> 选择Microsoft Visual Studio 2015并点击更改,然后修改,然后确保您已选中Universal Windows App Development Tools<下的工具和 Windows SDK 10 选项/em>.如果没有,您可以在此处检查并安装它.请参阅通用 Windows 应用程序.NET

You can do this after installation by going to Control Panel -> Programs and Features -> select Microsoft Visual Studio 2015 and hit Change, then Modify, and then make sure that you have checked the Tools and Windows SDK 10 option under Universal Windows App Development Tools. If not, you can check it here and install it. See Universal Windows apps in .NET

如果您已经安装了这些,但它们仍然不起作用,您可以尝试修复选项而不是修改

If you already have these installed, but they still don't work you can try the Repair option instead of Modify

顺便说一句,我知道你提到了 C#,但是对于任何想要使用 C++ 的人,一定要启用它——默认情况下也未安装.请参阅 Visual Studio 2015 中影响 C++ 开发人员的设置更改使用 Visual C++ 2015 为 Windows 10 进行开发.

BTW, I know you mentioned C#, but for anyone wanting to use C++, be sure to enable that as well--this is also not installed by default. See Setup Changes in Visual Studio 2015 Affecting C++ Developers and Developing for Windows 10 with Visual C++ 2015.

这篇关于找不到 SDK“Microsoft.VCLibs,版本 = 14.0";在 Windows 10 上的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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