Skip to content

Latest version 1.29.2 fails to see MSVC environment #14084

@mambo4

Description

@mambo4

Environment

  • OS and version: Windows 10
  • VS Code: 1.106.3 (user setup)
  • C/C++ extension: 1.29.2
  • OS and version of remote machine (if applicable):
  • GDB / LLDB version:

Bug Summary and Steps to Reproduce

Bug Summary:
C/C++ 1.29.2 never successfully detects the MSVC environment, blocking all compiles and debugs.

Steps to reproduce:

  1. Launch VS Code from MSVC command prompt, with C/C++ 1.29.2 extension
  2. Try the "Debug and Run" function that worked in 1.28.3 on 12/3/2025
  3. Notice the "cl.exe build and debug active file requires the Visual Studio developer environment." error pop up
  4. Click "apply Visual Studio Developer environment"
  5. Notice that this does not fix the issue nor remove the error pop up
  6. rollback C/C++ extension to 1.28.3
  7. Notice that this version is not broken

Debugger Configurations

Irrelevant because C/C++ 1.29.2 never successfully detects the MSVC environment, blocking all compiles and debugs.

Debugger Logs

Irrelevant because C/C++ 1.29.2 never successfully detects the MSVC environment, blocking all compiles and debugs.

Other Extensions

Irrelevant because C/C++ 1.29.2 never successfully detects the MSVC environment, blocking all compiles and debugs.

Additional Information

No response

Metadata

Metadata

Assignees

Labels

bugfixedCheck the Milestone for the release in which the fix is or will be available.quick fixregressionA bug that didn't exist in a previous releasetasks/build/debugAn issue relating to tasks.json (e.g. build issues)

Type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions