lowselfesteemsucks
lowselfesteemsucks

Reputation: 855

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.

Upvotes: 14

Views: 24506

Answers (6)

Umair M
Umair M

Reputation: 10720

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 :)

Upvotes: 2

galobart
galobart

Reputation: 9

Edit your .csproj and add these references:

<SDKReference Include="Microsoft.VCLibs, Version=14.0">
  <Name>Visual C++ 2015 Runtime for Universal Windows Platform Apps</Name>
</SDKReference>
<SDKReference Include="Microsoft.VCLibs.120, Version=14.0">
  <Name>Microsoft.VCLibs.120</Name>
</SDKReference>  

Upvotes: -1

Chuck Walbourn
Chuck Walbourn

Reputation: 41067

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.

Upvotes: 10

JHall
JHall

Reputation: 51

I tried the above answers with no success, I ended up rerunning the installer (alternatively you can use the steps in Chuck Walbourn's first link) and choosing repair instead of modify. It took a long time to run through but ended up solving this issue. Hope this helps anyone else who finds this thread.

Upvotes: 3

Daniel Meixner
Daniel Meixner

Reputation: 1839

Make sure you have the latest Windows SDK installed. It was released just yesterday. Any previous version (CTP) won't work with the latest Visual Studio 2015 Version. So if your SDK is e.g. 3 days old it just won't work. Get the latest here: https://dev.windows.com/en-us/downloads

Also see this blogpost that explains the compatibility topic: http://blogs.windows.com/buildingapps/2015/06/29/release-dates-and-compatibility-visual-studio-2015-and-windows-10-sdk/

Upvotes: 2

Schteven
Schteven

Reputation: 17

I'm having the same problem, i figured out that VCLibs are located in C:\Program Files (x86)\Microsoft SDKs\Windows Kits\10\ExtensionSDKs So what i did: i copied the folder 10 and pasted it into the Windows folder instead of Windows Kits and renamed it to v10.0

that being fixed, it gave me an other error: SDK folder containing 'UAP.props' for 'UAP 7.0' cannot be located. I didnt figured that one out yet and I also don't know if this is a good workaround.

Upvotes: 0

Related Questions