One of the handy commands with VS IDE is to launch cmd
, it was provided by default earlier but lately i have been missing it with VS 2015 & onwards.
While poking around i found that you could launch cmd
as external tool:
I found some more information here: https://docs.microsoft.com/en-us/dotnet/framework/tools/developer-command-prompt-for-vs
MSDocs version:
For easier access, you can add the Visual Studio Developer Command Prompt or any other command prompt to the Tools menu on Visual Studio, by adding it to the external tools list. This is how you can accomplish that:
Open Visual Studio.
Select the Tools menu and choose External Tools….
On the External Tools dialog box, choose the Add button. A new entry appears
Enter a Title for your new menu item such as Command Prompt
In the Command field, specify the file you want to launch such as
%comspec%
orC:\Windows\System32\cmd.exe
In the Arguments field, specify where to find the specific command prompt you want to use such as
/k "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools\VsDevCmd.bat"
(this will launch the Developer Command Prompt installed with Visual Studio 2015). This value needs to be changed according to your Visual Studio version and installation locationChoose a value for the Initial directory field such as Project Directory
Choose the OK button
After that, the new menu item is added and you can access the command prompt from the Tools menu.