Skip to content

[REGRESSION] Ninja generator no longer being used after update #4890

@EthanRutherford

Description

@EthanRutherford

Brief Issue Summary

Cmake Tools no longer detects Ninja generator after update.

CMake Tools Diagnostics

{
  "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

[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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    buga bug in the product

    Type

    No type

    Projects

    Status

    Completed

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions