我怎么可以添加VS命令提示符到Visual Studio 2010的C#防爆preSS? [英] How can I add the VS Command Prompt to Visual Studio 2010 C# Express?

查看:223
本文介绍了我怎么可以添加VS命令提示符到Visual Studio 2010的C#防爆preSS?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我安装了真实的版本,在命令提示符下存在的一个工具,而不是在EX preSS版?

When I install "real" editions, the command prompt exists as a tool, but not in the express edition?

我如何可以打开特殊的命令提示符,并且必须附带Visual Studio和.NET Framework中的各种命令行工具更容易获得?

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?

另请参见

  • <一个href="http://stackoverflow.com/questions/2084351/add-command-prompt-in-vs-2008-ex$p$pss-edition-manually">Add在VS命令提示符2008例preSS版手动 - 缺少一些必要的步骤,而不能完全回答;同时,2008年的具体
  • <一个href="http://stackoverflow.com/questions/1125537/visual-studio-command-prompt-vs-regular-command-prompt">Visual Studio命令提示符与常规命令提示符?
  • 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?

推荐答案

在VS命令提示符不是standaloneshell,但标准 CMD.EXE 有一些EnvironmentVariables设置 - 通过 vcvarsall.bat

The VS command prompt is not a standaloneshell, but the standard cmd.exe with some EnvironmentVariables setup — through vcvarsall.bat

拥有迷人, vcvarsall.bat 只附带了C ++版本,并驻留在微软的Visual Studio 10.0 \ VC 文件夹。

Charmingly, vcvarsall.bat only ships with the c++ edition, and resides in the Microsoft Visual Studio 10.0\VC folder.

所以,如果你还没有安装VS C ++防爆preSS - 你要访问的外壳,你可能需要安装VS C ++防爆preSS;这就是我所做的,反正。

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.

  1. 选择工具&gt;&GT;在Visual Studio中的外部工具
  2. 点击添加
  3. 填写标题 - 我用 Visual Studio的指挥放;提示 C 已分配给自定义)
  4. 命令: CMD.EXE (应该已经在你的PATH)
  5. 参数: / K\路径\为\微软的Visual Studio 10.0 \ VC \ vcvarsall.bat
  6. 在选择一个初始目录。我用 $(PROJECTDIR)
  7. 点击确定
  1. Select Tools >> External Tools in Visual Studio.
  2. Click Add
  3. Fill in the Title - I used Visual Studio Command &Prompt (C is already assigned to Customize)
  4. Command: cmd.exe (should already be on your PATH)
  5. Arguments: /k "\path\to\Microsoft Visual Studio 10.0\VC\vcvarsall.bat"
  6. Pick an Initial directory. I used $(ProjectDir)
  7. Click OK

我有这些笔记@ <一href="http://www.xradiograph.com/Programming/VisualStudioEx$p$pss">http://www.xradiograph.com/Programming/VisualStudioEx$p$pss这是又改编自<一个href="http://visualbasic.about.com/b/2010/08/17/the-visual-studio-command-prompt.htm">http://visualbasic.about.com/b/2010/08/17/the-visual-studio-command-prompt.htm和其他来源

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

这篇关于我怎么可以添加VS命令提示符到Visual Studio 2010的C#防爆preSS?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆