dlanod
dlanod

Reputation: 8980

Visual Studio 2015 will not target Windows 10

My installation of Visual Studio 2015 will not target any Windows 10 SDK version despite having the Windows 10 SDK version 10.0.10586 (and Update 2) installed.

When I open a solution that has Windows 10 as a target and attempt to build it, I get told I don't have that SDK version installed.

Build error

Checking the target platform version, I can see that there is no option to selection any 10.* versions.

Visual Studio options

However looking at the VS install, I can see that the Windows 10 SDK version 10.0.10586 is marked as installed.

VS install options

Windows 10 SDK version 10.0.10586 should let me target it as well as 10.0.10240, but I am unable to target/build against either.

I've tried:

Upvotes: 6

Views: 3712

Answers (1)

pixel
pixel

Reputation: 10547

I had similar issue. I went to Control panel and uninstalled 10.0.10586, then went to https://developer.microsoft.com/en-us/windows/downloads/sdk-archive and downloaded 10.0.10586 SDK and installed it again. After this, it worked.

Upvotes: 0

Related Questions