Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Trying to add Developer Command Prompt for VS2015 to ConEmu

I am trying to add the Developer Command Prompt For VS2015 to my ConEmu tasks so that I can start a shell from there. I know that I have to add a task under startup in the Settings, but I have no idea where to start or what to do.

I know that the command prompt shortcut is here:

..\ProgramData\Microsoft\Windows\Start Menu\Programs\Visual Studio 2015\Visual Studio Tools

and the shortcut points to:

..\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools\VsDevCmd.bat
like image 481
mqutub Avatar asked Jun 27 '16 19:06

mqutub


People also ask

How do I install the developer command prompt?

Start in Visual StudioOn the menu bar, select Tools > Command Line > Developer Command Prompt or Developer PowerShell.

What is the developer command prompt?

Developer Command Prompt - Sets the environment to use 32-bit, x86-native tools to build 32-bit, x86-native code. 2. x86 Native Tools Command Prompt - Sets the environment to use 32-bit, x86-native tools to build 32-bit, x86-native code. These two options have different names, but the same annotations.


1 Answers

You will need to create a new predefined task under the Startup-->Tasks menu in the ConEmu settings.

Click on the '+' button and call it whatever you like, in the screenshot below I called it VSCommandLine.

You will need to add the following commands in the command window:

* > cmd.exe /k ""%VS140COMNTOOLS%VsDevCmd.bat" & powershell" -new_console:d:C:\SourceCode\MyStartupDirectory

Screenshot of ConEmu Startup-->Tasks Settings Menu

like image 158
mqutub Avatar answered Sep 22 '22 15:09

mqutub