vscode-cpptools icon indicating copy to clipboard operation
vscode-cpptools copied to clipboard

Problem when compiling with 1.29.2

Open maybdev opened this issue 1 week ago • 5 comments

Environment

  • Windows 11, version 22H2 (i've not been able to update in years for some reason 😞)
  • Extension versions 1.28.3 (working version) and 1.29.2 (broken version)

Bug Summary and Steps to Reproduce

When using 1.29.2, if I try to build a cpp file (C++ Windows, cl.exe) it states "cl.exe build and debug active file requires the Visual Studio developer environment." even tho I AM using the Visual Studio developer environment, it gives me a choice to "Apply Developer Environment" but just replies with this error "The source code could not be built because the Visual Studio developer environment was not applied.". The same cannot be said for the previous version (1.28.3), doing the exact same thing works fine and dandy with version 1.28.3

Debugger Configurations

I didn't add a tasks.json or launch.json file

Debugger Logs

Error "cl.exe build and debug active file requires the Visual Studio developer environment."
Button "Apply Developer Environment"

Results in:
Error "The source code could not be built because the Visual Studio developer environment was not applied."

Other Extensions

No response

Additional Information

No response

maybdev avatar Dec 05 '25 19:12 maybdev