你如何打造只使用Visual Studio的命令窗口文件的项目呢? [英] How do you only build a file's project using Visual Studio's Command Window?

查看:143
本文介绍了你如何打造只使用Visual Studio的命令窗口文件的项目呢?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

按Ctrl-Shift-B键,默认情况下,建立一个完整的解决方案。一个完整的解决方案可以包含多个项目。编译所有在同一时间可能会很慢,特别是当发展仅发生在一个单一的项目

我曾竭力试图重新映射按Ctrl-Shift-B键来Build.BuildOnlyProject,但它不工作。什么都没发生。

从菜单中,下列选项不正是我想要的:

 构建 - >建[MY项目名称]


解决方案

该命令的 Build.BuildSelection

要绑定的一个键,点击工具|自定义|键盘... ,然后搜索它绑定。

注意:Build.BuildOnlyProject不会一路工作,通过VS2010,至少。

Ctrl-Shift-B, by default, builds an entire solution. An entire solution may contain many projects. Compiling all at the same time may be very slow, especially when development is only occurring on a single project.

I have tried t remap Ctrl-Shift-B to Build.BuildOnlyProject, but it does not work. Nothing happens.

From the menu, the following option does exactly what I want:

Build -> Build [MY PROJECT NAME]

解决方案

The command is Build.BuildSelection

To bind that to a key, click Tools | Customize | Keyboard... then search for it to bind it.

Note: Build.BuildOnlyProject does not work all the way through VS2010, at least.

这篇关于你如何打造只使用Visual Studio的命令窗口文件的项目呢?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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