microsoft / microsoft/vscode-cmake-tools

Visual Studio ninja not found

Open
#4,226 3 comments 0 reactions 0 assignees View on GitHub
more info needed
Dominant language
TypeScript
Stars
1.7k
Forks
546
Avg merge
2d 16h
Merged PRs (30d)
32

Description

### Brief Issue Summary

With Visual Studio 2022 and its CMake support installed, vscode-cmake-tools does find the `cmake.exe` that it installs. It does not, however, find Ninja. If vscode-cmake-tools is able to find Visual Studio's `cmake.exe`, it seems like it ought to be able to locate its `ninja.exe`, as well.

### CMake Tools Diagnostics

```shell

```

### Debug Log

```shell

```

### Additional Information

This simple project demonstrates the problem.

[vscode-cmake-tools-test.zip](https://github.com/user-attachments/files/18308490/vscode-cmake-tools-test.zip)

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue with the attached vscode-cmake-tools-test.zip using Visual Studio 2022 and its CMake support. Trace the Visual Studio discovery path that finds cmake.exe and determine why ninja.exe is not located; done means the same setup finds Visual Studio's Ninja executable.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, typescript
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.