问题描述
我需要从Visual Studio 2013中的开发人员命令提示符运行web.exe文件.默认情况下,Visual Studio 2013中未安装命令提示符.
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.
以前,我使用的是Visual Studio2012.默认情况下,它安装了开发人员命令提示符.
Previously, I was using Visual Studio 2012. It had developer command prompt installed by default.
有人知道为什么VS2013默认没有开发人员命令提示符吗?如何设置VS2013的开发人员命令提示符?
Does anyone know why VS2013 doesn't have developer command prompt by default? How can I setup developer command prompt for VS2013?
推荐答案
从VS2013菜单中选择工具",然后选择外部工具".输入如下:
From VS2013 Menu Select "Tools", then Select "External Tools". Enter as below:
- 标题:"VS2013 Native Tools-Command Prompt"会很好
- 命令:
C:\Windows\System32\cmd.exe
- 参数:
/k "C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\Tools\VsDevCmd.bat"
- 初始目录:根据需要进行选择.
- Title: "VS2013 Native Tools-Command Prompt" would be good
- Command:
C:\Windows\System32\cmd.exe
- Arguments:
/k "C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\Tools\VsDevCmd.bat"
- Initial Directory: Select as suits your needs.
单击确定".现在,您可以在工具"菜单下访问命令提示符.
Click OK.Now you have command prompt access under the Tools Menu.
这篇关于VS2013的开发人员命令提示符在哪里?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!