Build and debug C++ with cl without needing to start vscode from the developer prompt · Issue #4742 · microsoft/vscode-cpptools · GitHub
Skip to content

Build and debug C++ with cl without needing to start vscode from the developer prompt #4742

Description

@rickywei

image

Activity

  1. sean-mcmanus commented on Dec 16, 2019

    @sean-mcmanus
    Contributor

    If you want to build with cl.exe, you need to run it from the developer command prompt. We had an issue tracking removing that requirement, but I'm not able to locate it, so we could use this issue track that.

  2. added this to the Backlog milestone on Jan 9, 2020
  3. changed the title [-]How to debug c++ with cl and do not need to start vscode from developer prompt[/-] [+]Build and debug C++ with cl without needing to start vscode from the developer prompt[/+] on Jul 30, 2020
  4. Colengms commented on Apr 13, 2021

    @Colengms
    Contributor

    A user proposed the following solution: microsoft/vscode-docs#4437

    The cppbuild task provider could configure the environment, perhaps using code currently in CMake Tools to find the devbat script, or through a setting that indicates which version/install of VS to get the script from.

  5. moved this to In progress in cpptoolson Apr 30, 2025
  6. moved this from In progress to Pull Request in cpptoolson Apr 30, 2025
  7. moved this from Pull Request to Done in cpptoolson Oct 29, 2025
  8. added
    fixedCheck the Milestone for the release in which the fix is or will be available.
    on Oct 31, 2025
  9. sean-mcmanus commented on Nov 4, 2025

    @sean-mcmanus
    Contributor
  10. locked and limited conversation to collaborators on Dec 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Feature RequestLanguage ServicefixedCheck the Milestone for the release in which the fix is or will be available.tasks/build/debugAn issue relating to tasks.json (e.g. build issues)

Projects

  • Status
    Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions