如何将 VS 命令提示符添加到 Visual Studio 2010 C# Express?
当我安装“真实”版本时,命令提示符作为工具存在,但在精简版中不存在?
如何打开特殊的命令提示符,并更轻松地访问 Visual Studio 和 .NET 框架附带的各种命令行工具?
另请参阅
- 在 VS 中添加命令提示符2008 Express Edition 手动 - 缺少一些基本步骤,并且从未完全回答;另外,2008 年特定的
- Visual Studio 命令提示符与常规命令提示符?
When I install "real" editions, the command prompt exists as a tool, but not in the express edition?
How can I open the special command prompt, and have easier access to the various command-line tools that ship with Visual Studio and the .NET framework?
See Also
- Add Command prompt in VS 2008 Express Edition manually - missing some essential steps, and never completely answered; also, 2008 specific
- Visual Studio Command Prompt vs. Regular Command Prompt?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
VS 命令提示符不是独立的 shell,而是带有一些环境变量设置的标准
cmd.exe
- 通过vcvarsall.bat
迷人的是,
vcvarsall.bat
仅随 c++ 版本一起提供,并驻留在Microsoft Visual Studio 10.0\VC
文件夹中。因此,如果您尚未安装 VS c++ Express — 并且想要访问 shell,则可能必须安装 VS c++ Express;不管怎样,我就是这么做的。
工具>> Visual Studio 中的外部工具
。添加
Visual Studio命令和提示
(C
已分配给自定义)cmd .exe
(应该已在您的 PATH 中)/k "\path\to\Microsoft Visual Studio 10.0\VC\vcvarsall.bat"
$(ProjectDir)
OK
我有这些注释@ http://www.xradiograph.com/Programming/VisualStudioExpress 依次进行了改编来自 http://visualbasic.about。 com/b/2010/08/17/the-visual-studio-command-prompt.htm 和其他来源
The VS command prompt is not a standaloneshell, but the standard
cmd.exe
with some EnvironmentVariables setup — throughvcvarsall.bat
Charmingly,
vcvarsall.bat
only ships with the c++ edition, and resides in theMicrosoft Visual Studio 10.0\VC
folder.So if you haven’t installed VS c++ Express — and you want to access the shell, you probably have to install VS c++ Express; that’s what I did, anyway.
Tools >> External Tools
in Visual Studio.Add
Visual Studio Command &Prompt
(C
is already assigned to Customize)cmd.exe
(should already be on your PATH)/k "\path\to\Microsoft Visual Studio 10.0\VC\vcvarsall.bat"
$(ProjectDir)
OK
I have these notes @ http://www.xradiograph.com/Programming/VisualStudioExpress which were in turn adapted from http://visualbasic.about.com/b/2010/08/17/the-visual-studio-command-prompt.htm and other sources
2010 年 12 月 4 日
您可以免费下载 Windows SDK 7.1 Net (Framework) 4。对于 XP、Vista、...
Windows SDK 7.1 包含命令提示符并且运行完美。我尝试使用 Visual Basic 2010 Express 创建客户端 Windows 通信,它非常完美。
再见。
04 December 2010
You can download Windows SDK 7.1 Net (Framework) 4 for free. For XP, Vista,...
Windows SDK 7.1 contains Command Prompt and that work perfect. I have tried with Visual Basic 2010 Express to create Client Windows Communication and it's perfect.
See you soon.
只需安装 VC++ Express 版本即可。它将自动安装 Visual Studio 命令提示符。您必须只安装了 vc#express 而不是 vc++express。尝试安装它,您将得到命令提示符,就像 Visual Basic 2005 版本一样。
Just install VC++ express edition. It will automatically install visual studio command prompt. you must have only installed vc# express not vc++ express. Try installing it and you will get command prompt, as it is for visual basic 2005 edition.