Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Could not find a suitable SDK to target

I try to create a project for UWP but I get this error:

enter image description here

like image 328
mitch Avatar asked Mar 31 '16 10:03

mitch


3 Answers

I install windows development kit and it worked. Thanks

like image 112
mitch Avatar answered Nov 20 '22 20:11

mitch


Part of the problem can be solved by choosing an older sdk. Choose the second newest from here: https://developer.microsoft.com/en-us/windows/downloads/sdk-archive

like image 3
Kampmarsvin Avatar answered Nov 20 '22 18:11

Kampmarsvin


Installing the latest SDK didn't help me either. The installer wouldn't complete, kept getting to 97% and then rolling back.

I had a whole load of MDMERGE errors like:

MDMERGE : error MDM2009: Duplicate type Windows.Networking.NetworkOperators.TetheringOperationalState found processing metadata file C:\Users\blah\AppData\Local\Temp\UnionWinmdWorkingFolder\26178\WinMDs\Windows.Networking.NetworkOperators.NetworkOperatorsTetheringContract.winmd, type already exists in file C:\Users\blah\AppData\Local\Temp\UnionWinmdWorkingFolder\26178\WinMDs\Windows.Foundation.UniversalApiContract.winmd.

To resolve this I deleted References in

C:\Program Files (x86)\Windows Kits\10

..and reinstalled. Seems like older kit installs are interfering with new kit installs.

like image 1
Sean Avatar answered Nov 20 '22 18:11

Sean