Open a terminal in a visual studio?

I'm looking now, but I just can't find a way to open a terminal for shell commands in Visual Studio (Commuity Version).

Can anyone help?

+53
source share
8 answers

You can have a built-in terminal in Visual Studio using one of the following extensions:

Whack whack terminal

Terminal: cmd or powershell

Label: Ctrl \ , Ctrl \

Supports: Visual Studio 2017

https://marketplace.visualstudio.com/items?itemName=DanielGriffen.WhackWhackTerminal

Whack whack terminal


Builtincmd

Terminal: cmd or powershell

Label: Ctrl Shift T

Supports: Visual Studio 2013, 2015, 2017

https://marketplace.visualstudio.com/items?itemName=lkytal.BuiltinCmd

Builtincmd

+44
source

From comments the best answer from @Hans Passant

1) Add an external tool.

Tools> External Tools> Add

Title: Terminal (or name it yourself)

Command = cmd.exe or Command = powershell.exe

Arguments = / k

Start Directory = $ (ProjectDir)

2) Tools> Terminal (or whatever you put in the header)

3) Enjoy!

+18
source

As a tricky solution, you can use the Package Manager Console to execute cmd or PowerShell.

Shortcut for the package manager console Alt T N O

Tested on Visual Studio 2017 Community Version

enter image description here

+3
source

Not sure if this will help, but I usually pull the command line by going to the “Sync” tab in Team Explorer and clicking “Actions”

When the command line opens, it is located in the project directory.

-L -

+2
source

Right-click on your solution and over the properties indicated above, the "Command line" option opens, which provides access to the standard cmd, powershell and developer commands. Alternatively, you can use the keyboard shortcuts Alt + Space for the default value (cmd), Shift + Alt +, for Dev (cmd). Shift + Alt +. for powershell

0
source

Visual Studio is the worst editor, because at first it does not contain a terminal window, and when I install the shock terminal, it doesn’t work most of the time when I can’t type it

0
source

View → debug console (ctrl + shift + Y) next to debug console - terminal

-2
source

For the Microsoft Visual Studio 2017 community, use CTR + ALT + A

alternatively from the command bar view-> Other Windows-> Command Window

enter image description here

-eight
source

Source: https://habr.com/ru/post/1266734/


All Articles