Where is Developer Command Prompt for VS2013?
I need to run web.exe file from my developer command prompt in Visual Studio 2013. By default, the command prompt is not installed in Visual Studio 2013.
Previously, I was using Visual Studio 2012. It had developer command prompt installed by default.
Does anyone know why VS2013 doesn't have developer command prompt by default? How can I setup developer command prompt for VS2013?
From VS2013 Menu Select "Tools", then Select "External Tools". Enter as below:
C:WindowsSystem32cmd.exe
/k "C:Program Files (x86)Microsoft Visual Studio 12.0Common7ToolsVsDevCmd.bat"
Click OK. Now you have command prompt access under the Tools Menu.
For some reason, it doesn't properly add an icon when running Windows 8+. Here's how I solved it:
Using Windows Explorer, navigate to:
C:ProgramDataMicrosoftWindowsStart MenuProgramsVisual Studio 2013
In that folder, you'll see a shortcut named Visual Studio Tools
that maps to (assuming default installation):
C:Program Files (x86)Microsoft Visual Studio 12.0Common7ToolsShortcuts
Double-click the shortcut (or go to the folder above).
From that folder, copy the shortcut named Developer Command Prompt for VS2013
(and any others you find useful) to the first directory (for the Start Menu
). You'll likely be prompted for administrative access (do so).
Once you've done that, you'll now have an icon available for the 2013 command prompt.
I used a modified version of this answer - based on my experiences adding it to VS 2010:
Tools
>> External Tools
in Visual Studio Add
Visual Studio Command &Prompt
&P
Makes P a alt-shortcut key (when menu active) C:WindowsSystem32cmd.exe
k "C:Program Files (x86)Microsoft Visual Studio 12.0Common7Toolsvsvars32.bat
/k
keeps a secondary session active so the window doesn't close on the .bat file $(ProjectDir)
(from the dropdown) Now you have command prompt access under the Tools Menu.
See also: Add command prompt to Visual C# Express 2010
链接地址: http://www.djcxy.com/p/52662.html上一篇: 有PURE node.js的教程吗?
下一篇: 开发者命令提示VS2013在哪里?