Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

visual studio does not recognize windows 10 sdk in version 10.0.14393.0

my Visual Studio does not recognize my Windows 10 SDK.

The steps to reproduce it:

  1. Install VS 2015 Professional with update 3 and select the windows SDK for version 10.0.14393.0 as optional feature
  2. Create an UWP App with this version
  3. The following error is displayed in the output window: error : The project requires a platform SDK (UAP, Version=10.0.14393.0) that is not installed. Please visit the following link for more information: http://go.microsoft.com/fwlink/?prd=12514&pver=14.0&sbp=PlatformSDKMissing&plcid=0x409&o1=UAP,%20Version=10.0.14393.0
  4. Uninstall Windows 10 SDK 10.0.14393.0
  5. Install Windows 10 SDK 10.0.14393.0 from the link provided in step 3
  6. Create an UWP App with the version 10.0.14393.0 and the same error like in step 3 is displayed

further information: in the list of programs and features in the control panel the name of the sdk is: Windows Software Development Kit - Windows 10.0.14393.795 and the version is 10.1.14393.795

My guess is that the version is wrong in the registry and therefore visual studio cannot find the sdk.

If I look under the path C:\Program Files (x86)\Windows Kits\10\Platforms\UAP I can see a directory named 10.0.14393.0 that contains a Platform.xml and a PreviousPlatforms.xml as it should. Under the path C:\Program Files (x86)\Windows Kits\10\bin there is a directory named 10.0.14393.0 too so the SDK seems to be installed correctly

I already tried reinstalling of visual studio and several SKDs in different versions from VS or the online link and nothing worked. If I target another SDK Version like 10.0.10586 I am able to create the project.

Thank you for reading. I am thankful for every hint into the right direction.

like image 959
ThejustOli Avatar asked Feb 09 '17 12:02

ThejustOli


People also ask

How do I change the Windows SDK version in Visual Studio code?

Open the shortcut menu for the project node, and choose Retarget projects. (In earlier versions of Visual Studio, choose Retarget SDK Version.) The Review Solution Actions dialog appears. In the Target Platform Version dropdown list, choose the version of the Windows SDK you want to target.

How do you check Windows 10 SDK is installed?

Hello! By default, the Windows 10 SDK is installed into the "C:\Program Files (x86)\Windows Kits\10" folder.

Does Windows 10 SDK work on Windows 11?

The Windows App SDK provides a unified set of APIs and tools that are decoupled from the OS and released to developers via NuGet packages. These APIs and tools can be used in a consistent way by any desktop app on Windows 11 and downlevel to Windows 10, version 1809.

How do I know if Windows SDK is installed?

More specifically, select Tools > Get Tools and Features..., then expand the "Desktop development with C++" section on the right, and look for "Windows 10 SDK (<version>)" under Optional features. It's worth noting that the Windows SDK version found in VS can be different than that found under Windows.


1 Answers

Reinstalling Windows is not necessary. Modify the existing installation of VS2017 and remove the check next to Universal Windows Platform development, then go to the Individual components tab and select the Windows SDK 10.0.14393.

Click Modify.

Once finished, Modify the existing installation of VS2017 again and recheck the Universal Windows Platform development box and Click Modify.

Problem resolved and no restart required.

enter image description here

like image 122
Christopher Huebner Avatar answered Sep 26 '22 08:09

Christopher Huebner