windowsvisual-studioinstallationsdk

Old Windows SDK doesn't show up in VS2022 settings after installing


I need Windows SDK 10.0.17763.0 which doesn't show up on the VS2022 setup page.

enter image description here

Then I find the installation from https://developer.microsoft.com/en-us/windows/downloads/sdk-archive/

After installing it appears in the Control Panel. enter image description here

But it doesn't show up in the VS2022 settings, why?

enter image description here

Edit: On the Windows SDK installer, there is only C++ x86 option while I'm working on a x64 program, is that the reason? enter image description here

Sorry for this Your post is mostly images. Add additional details to explain the problem and expected results. I need to add some rubbish with it.


Solution

  • On the Windows SDK installer, there is only C++ x86 option while I'm working on a x64 program, is that the reason?

    I think yes. Please make sure that "Windows SDK for Desktop C++ amd64/arm64 Apps" and "Windows SDK for Desktop C++ x86 Apps" has been checked.

    1. Open Control Panel, right-click Windows 10.0.17763, select Change.

    2. Select "Windows SDK for Desktop C++ amd64/arm64 Apps" and "Windows SDK for Desktop C++ x86 Apps", then click Change. enter image description here

    3.Restart VS and reopen your project to see if 10.0.17763 shows up.

    If this doesn't help, please consider Reinstall/Repair Windows SDK(10.0.17763.0) and reinstall the C++ workloads in VS, from VS Installer->Modify. Try to reinstall VS 2022 if possible.