Where is Developer Command Prompt for VS2013?

后端 未结 9 1211
余生分开走
余生分开走 2020-11-27 08:51

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,

9条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-11-27 09:46

    I used a modified version of this answer - based on my experiences adding it to VS 2010:

    1. Select Tools >> External Tools in Visual Studio
    2. Click Add
    3. 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
    4. Command: C:\Windows\System32\cmd.exe
    5. Arguments: \k "C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\Tools\vsvars32.bat
      • /k keeps a secondary session active so the window doesn’t close on the .bat file
    6. Initial Directory: I use $(ProjectDir) (from the dropdown)
    7. Click OK.

    Now you have command prompt access under the Tools Menu.

    See also: Add command prompt to Visual C# Express 2010

提交回复
热议问题