Cannot change version of Windows SDK in Visual Studio C ++ project

I have a Visual Studio C ++ console application that I created using Visual Studio 2015, and now I can not compile it (with Visual Studio 2017) because it targets the Windows 8.1 SDK, which is not installed. The problem is that I cannot redirect the project in the Windows 10 SDK.

What happens when I open the project properties page and go to the General - Target Platform, I see the Windows 10 SDK in the drop-down list, and I can select it ... but as soon as I click Apply, it returns to 8.1 on its own . There is no error message.

enter image description here

The Visual Studio installer says that the specified version of the SDK is actually installed:

enter image description here

So what is going on here? Is there a way to reconfigure my project without installing the Windows 8.1 SDK?

Not sure if this is important: this project is really just a β€œwrapper” around an existing bare project consisting of just a few .cpp and .h files that were developed by another person. I am really not familiar with C ++ development.

+5
source share

Source: https://habr.com/ru/post/1268466/


All Articles