Open the terminal in visual studio?

前端 未结 12 2140
-上瘾入骨i
-上瘾入骨i 2020-12-08 01:46

How to open terminal for executing shell commands in Visual Studio(Community Version)?

相关标签:
12条回答
  • 2020-12-08 01:55

    As tricky solution you can use Package Manager Console to execute cmd or PowerShell commends

    Shortcut for Package Manager Console Alt T N O

    Tested on Visual Studio 2017 Community Version

    Also its available now as part of Visual Studio version 16.3 Preview 3

    Shortcut Ctrl+` same as Visual Studio Code

    0 讨论(0)
  • 2020-12-08 01:57

    Not sure if this will help, but I usually pull the command prompt up by going into "Synchronization" tab in Team Explorer and clicking on "Actions"

    When the command prompt opens it is in the directory of the project.

    0 讨论(0)
  • 2020-12-08 01:57

    To open the terminal:

    • Use the Ctrl` keyboard shortcut with the backtick character. This command works for both Linux and macOS.
    • Use the View > Terminal menu command.
    • From the Command Palette (⇧⌘P), use the View: Toggle Integrated Terminal command.

    Please find more about integrated terminal here https://code.visualstudio.com/docs/editor/integrated-terminal

    0 讨论(0)
  • 2020-12-08 02:00

    New in the most recent version of Visual Studio, there is View --> Terminal, which will open a PowerShell instance as a VS dockable window, rather than a floating PowerShell or cmd instance from the Developer Command Prompt.

    0 讨论(0)
  • 2020-12-08 02:02

    In Visual Studio 2019- Tools > Command Line > Developer Command Prompt.enter image description here

    0 讨论(0)
  • 2020-12-08 02:03

    For Microsoft Visual Studio Community 2017 use Ctrl+Alt+A

    Alternatively from command panel view -> Other Windows -> Command Window

    0 讨论(0)
提交回复
热议问题