Skip to content

Problem when compiling with 1.29.2 #14089

@maybdev

Description

@maybdev

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

Metadata

Metadata

Assignees

Labels

Language Servicebugmore info neededThe issue report is not actionable in its current stateregressionA bug that didn't exist in a previous releasetasks/build/debugAn issue relating to tasks.json (e.g. build issues)

Type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions