title: Visual Studio 2015 will not target Windows 10
body: <p>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.</p>
  
  <p>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.</p>
  
  <p><a href="https://i.stack.imgur.com/LfyAf.png" rel="noreferrer"><img src="https://i.stack.imgur.com/LfyAf.png" alt="Build error"></a></p>
  
  <p>Checking the target platform version, I can see that there is no option to selection any 10.* versions.</p>
  
  <p><a href="https://i.stack.imgur.com/3od58.png" rel="noreferrer"><img src="https://i.stack.imgur.com/3od58.png" alt="Visual Studio options"></a></p>
  
  <p>However looking at the VS install, I can see that the Windows 10 SDK version 10.0.10586 is marked as installed.</p>
  
  <p><a href="https://i.stack.imgur.com/p5vO8.png" rel="noreferrer"><img src="https://i.stack.imgur.com/p5vO8.png" alt="VS install options"></a></p>
  
  <p>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.  </p>
  
  <p>I've tried:</p>
  
  <ul>
  <li>uninstalling and reinstalling VS2015 with both SDKs selected (time-consuming but no change),</li>
  <li>repairing the VS2015 install (time-consuming but no change),</li>
  <li>uninstalling 10.0.10586 and installing 10.0.10240 separately and simultaneously (always an installation error 15605 on 10.0.10240),</li>
  <li>installing standalone versions of the SDK (always an error that 10.0.10586 is installed).</li>
  </ul>