Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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:

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

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

like image 762
lowselfesteemsucks Avatar asked Jul 30 '15 12:07

lowselfesteemsucks


Video Answer


2 Answers

Visual Studio 2017

For anyone having this problem in Visual Studio 2017 using C# Universal Windows, following is the procedure to fix this:

  1. Right click on Solution in Solution Explorer and Click Add/New Project
  2. Go to Other Languages/Visual C++/Windows Universal in installed tab.

  3. It will show you the option to install the required tools:

enter image description here

Hope this helps :)

like image 95
Umair M Avatar answered Sep 25 '22 09:09

Umair M


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.

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

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.

like image 22
Chuck Walbourn Avatar answered Sep 22 '22 09:09

Chuck Walbourn