ITADN

[REGRESSION] Ninja generator no longer being used after update

#4890OpenEthanRutherford 创建于 2026-04-16
bugmore info needed
E
EthanRutherfordcommented
### Brief Issue Summary Cmake Tools no longer detects Ninja generator after update. ### CMake Tools Diagnostics ```shell { "os": "win32", "vscodeVersion": "1.116.0", "cmtVersion": "1.23.51", "configurations": [ { "folder": "NO", "cmakeVersion": "4.2.3", "configured": true, "generator": "Visual Studio 18 2026", "usesPresets": false, "compilers": {} } ], "cpptoolsIntegration": { "isReady": false, "hasCodeModel": false, "activeBuildType": "", "buildTypesSeen": [], "requests": [], "responses": [], "partialMatches": [], "targetCount": 0, "executablesCount": 0, "librariesCount": 0, "targets": [] }, "settings": [ { "communicationMode": "automatic", "useCMakePresets": "auto", "configureOnOpen": true } ] } ``` ### Debug Log ```shell [cmake] -- Selecting Windows SDK version 10.0.26100.0 to target Windows 10.0.26200. [cmake] CMake Error: Error: generator : Visual Studio 18 2026 [cmake] Does not match the generator used previously: Ninja [cmake] Either remove the CMakeCache.txt file and CMakeFiles directory or choose a different binary directory. [cmake] [cmake] -- Configuring incomplete, errors occurred! ``` ### Additional Information My build tools should not change their own configuration after an update.
4 条评论