简体   繁体   中英

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.

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.

在此输入图像描述

The solution is to reinstall windows and make a clean install of Visual Studio. Somehow the system got messed up and not even a visual studio reinstall could help.

I had this same issue but resolved it by installing the .033 version rather than the latest .795. It is available on the SDK download page in the description of the SDK by clicking on the link behind 'QFE':

Windows 10 SDK (ver. 10.0.14393.795 – a QFE for 10.01.14393.033) and Microsoft Emulator for Windows 10 mobile

Also, even though it wasn't required, I uninstalled .795, then rebooted. Then installed .033 and then rebooted again prior to trying to open visual studio.

I'v already installed Windows SDK 10.0.14393.795 successfully. Then I create UWP project which targets 14393 successfully. So I could not reproduce your issue.

在此输入图像描述

I already tried reinstalling of visual studio and several SKDs in different versions from VS or the online link and nothing worked.

If you have tried to repair your visual studio, but it still didn't work. You'd better use http://aka.ms/vscollect to gather the installation logs. Find vslogs.zip from %temp% folder. Please upload the file and share the link here. I will help you find the root cause according to the log file.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM