Skip to content

The "Microsoft C/C++ extension for VS Code" doesn't work with MSVC unless VS Code is opened through the "Developer Command Prompt for Visual Studio" #5301

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
krasimirkrustev opened this issue Apr 15, 2020 · 2 comments
Labels
duplicate tasks/build/debug An issue relating to tasks.json (e.g. build issues)

Comments

@krasimirkrustev
Copy link

The "Microsoft C/C++ extension for VS Code" doesn't work with MSVC unless VS Code is opened through the "Developer Command Prompt for Visual Studio".

  • OS and Version: Windows 10 1909
  • VS Code Version: 1.44.1
  • C/C++ Extension Version: 0.27.0

The error message in the terminal tab is "cl.exe : The term 'cl.exe' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again."

@sean-mcmanus
Copy link
Contributor

This sounds like a duplicate of #5271 ?

@sean-mcmanus sean-mcmanus added tasks/build/debug An issue relating to tasks.json (e.g. build issues) duplicate labels Apr 15, 2020
@github-actions
Copy link

This issue has been closed automatically because it's labeled as a 'duplicate' and has not had recent activity.

@github-actions github-actions bot locked and limited conversation to collaborators Nov 25, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
duplicate tasks/build/debug An issue relating to tasks.json (e.g. build issues)
Projects
None yet
Development

No branches or pull requests

2 participants