title: Can't change Windows SDK version in Visual Studio C++ project
body: <p>I have a Visual Studio C++ console application that I created with Visual Studio 2015 and now I can't compile it (with Visual Studio 2017) because it is targeting the Windows 8.1 SDK, which is not installed. The problem is that I can't retarget the project to the Windows 10 SDK.</p>
  
  <p>What happens is that when I open the project properties page and go to <em>General - Target Platform</em> I see the Windows 10 SDK in the dropdown, and I am able to select it... but as soon as I press <em>Apply</em>, <strong>it reverts back to 8.1 by itself</strong>. No error message is provided.</p>
  
  <p><a href="https://i.stack.imgur.com/XUAgf.png" rel="noreferrer"><img src="https://i.stack.imgur.com/XUAgf.png" alt="enter image description here"></a></p>
  
  <p>Visual Studio installer says that, indeed, the listed SDK version is installed:</p>
  
  <p><a href="https://i.stack.imgur.com/v6WUx.png" rel="noreferrer"><img src="https://i.stack.imgur.com/v6WUx.png" alt="enter image description here"></a></p>
  
  <p>So what's going on here? Is there a way to retarget my project without having to install the Windows 8.1 SDK?</p>
  
  <p><em>Not sure if that matters but: this project is actually just a "wrapper" around an existing bare project consisting of just a bunch of .cpp and .h files, which was developed by another person. I'm really not familiar with C++ development.</em></p>