How to open terminal for executing shell commands in Visual Studio(Community Version)?
View -> debug console (Ctrl+Shift+Y) next to debug console is terminal
Now vs has built-in terminal
View > Terminal (Ctrl+")
To change default terminal
Tools > Options - Terminal > Set As Default
Before Visual Studio 2019
From comments best answer is from @Hans Passant
Tools > External Tools > Add
Title: Terminal (or name it yourself)
Command=cmd.exe Or Command=powershell.exe
Arguments= /k
Initial Directory=$(ProjectDir)
Tools > Terminal (or whatever you put in title)
Enjoy!
Microsoft just included an integrated Windows Terminal in Visual Studio version 16.3 Preview 3. Go to Tools > Options > Preview Features, enable the Experimental VS Terminal option and restart Visual Studio.
https://devblogs.microsoft.com/visualstudio/say-hello-to-the-new-visual-studio-terminal/
Right click on your solution and above properties is the option open Command Line which gives access to default cmd, powershell and developer command prompt alternatively you can use the shortcuts Alt+Space for Default (cmd), Shift+Alt+, for Dev (cmd), Shift+Alt+. for powershell
You can have a integrated terminal inside Visual Studio using one of these extensions:
Terminal: cmd or powershell
Shortcut: Ctrl\, Ctrl\
Supports: Visual Studio 2017
https://marketplace.visualstudio.com/items?itemName=DanielGriffen.WhackWhackTerminal
Terminal: cmd or powershell
Shortcut: CtrlShiftT
Supports: Visual Studio 2013, 2015, 2017, 2019
https://marketplace.visualstudio.com/items?itemName=lkytal.BuiltinCmd
In Visual Studio 2019, You can open Command/PowerShell window from Tools > Command Line >
If you want an integrated terminal, try
BuiltinCmd: https://marketplace.visualstudio.com/items?itemName=lkytal.BuiltinCmd
You can also try WhackWhackTerminal (does not support VS 2019 by this date).
https://marketplace.visualstudio.com/items?itemName=dos-cafe.WhackWhackTerminal