为什么每次点击“播放"时VS都必须重建所有项目? [英] Why does VS have to rebuild ALL of my projects every time I hit "Play"?

查看:173
本文介绍了为什么每次点击“播放"时VS都必须重建所有项目?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是否有一些怪异的设置导致这种情况发生?我只想更改消息框的文本(并且没有其他程序集依赖于该文本框),但是VS会重建我的所有项目,并且这需要花费很多时间.有什么想法吗?

Do I have some weird setting that is making this happen? I only want to change the text of a message box (and no other assemblies depend on that one) yet VS rebuilds all of my projects and it takes forever. Any ideas?

推荐答案

您可以通过构建菜单从常规构建中排除项目.

You can exclude projects from your general build through the build menu..

构建→配置管理器→取消选中您不想始终构建的项目.

Build → Configuration Manager → Uncheck projects that you don't want to always build.

通过仅构建每次绝对需要构建的项目,可以大大缩短构建时间.

This can massively speed up build time by only building projects that absolutely need to be built every time.

请注意,如果需要重新构建,则必须独立构建未选择的项目(右键单击->在项目上构建等).

Note though you will have to build the projects that you've unselected independently (right click->Build on the project etc) if they need to be rebuilt.

您还可以设置备用构建配置,以便可以混合和匹配将在何时构建的内容.

You can also setup alternate build configurations so you can mix and match what will build when.

这篇关于为什么每次点击“播放"时VS都必须重建所有项目?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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