Is there a Windows registry key (or other easily-programmable way) to find & detect the Windows SDK, which works for SDK V10.0?
I am doing
I don't have an authoritative source for it, but it traces back from the uninstaller of the Windows 10 SDK, and it checked out on a couple of machines I looked at:
HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows Kits\Installed Roots
KitsRoot10="C:\Program Files (x86)\Windows Kits\10\"
The exact version is a bit trickier to guess, since for example 10.0.10150.0
, 10.0.10240.0
and 10.0.10586.0
are all subdirectories under C:\Program Files (x86)\Windows Kits\10\Include
.