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
Start in Visual StudioOn the menu bar, select Tools > Command Line > Developer Command Prompt or Developer PowerShell.
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.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With