Microsoft Visual Studio2022Pro
出现错误:
找不到 Windows SDK 版本 10.0.19041.0。请安装所需版本的 Windows SDK,或者在项目属性页中或通过右键单击解决方案并选择“重定解决方案目标”来更改 SDK 版本。



安装了7个windows SDK,只显示2个(这两个好像是windows10SDK,其他5个是windows11SDK),这两个还都不能用,Windows11SDK可以向下兼容
支持的作系统
Windows 11 版本 21h2 或更高版本:家庭版、专业版、教育版和企业版(UWP 不支持 LTSC)
Windows 10 版本 1507 或更高版本:家庭版、专业版、教育版和企业版(UWP 不支持 LTSB/LTSC 和 S 模式)
Windows Server 2022、Windows Server 2019、Windows Server 2016 和 Windows Server 2012 R2(仅限命令行)
Windows 8.1
Windows 7 SP1