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:

  • Title : "VS2013 Native Tools-Command Prompt" would be good
  • Command : C:WindowsSystem32cmd.exe
  • Arguments : /k "C:Program Files (x86)Microsoft Visual Studio 12.0Common7ToolsVsDevCmd.bat"
  • Initial Directory : Select as suits your needs.
  • 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:

  • Select Tools >> External Tools in Visual Studio
  • Click Add
  • Title: I use Visual Studio Command &Prompt
  • &P Makes P a alt-shortcut key (when menu active)
  • I originally used C, but that conflicts with the existing shortcut for Customize
  • Command: C:WindowsSystem32cmd.exe
  • Arguments: 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
  • Initial Directory: I use $(ProjectDir) (from the dropdown)
  • Click OK.
  • 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在哪里?