现象:[kit] VS installation instance not found for kit "Visual Studio Community 2022 Release - x86_amd64" - (d7d79a77). It is recommended you re-scan the kits and also remove any user-local entries that are not present anymore on the system.
[kit] VS installation instance not found for kit "Visual Studio Community 2022 Release - x86_amd64" - (d7d79a77). It is recommended you re-scan the kits and also remove any user-local entries that are not present anymore on the system.
关于CMake Tools Kits 配置:在Vs Code 使用快捷键 ctrl + shift + p 输入kit,如下图所示:

1、执行Scan for Kits 后可以增加本地存在的Kit
2、Edit User-Local CMake Kits,会打开cmake-tools-kits.json,如下图,有两种方式

(1)在cmake-tools-kits.json进行编辑修改
(2)删除cmake-tools-kits.json,再执行Scan for Kits

3、Select a Kit:选择自己需要的Kit
4610

被折叠的 条评论
为什么被折叠?



