Visual Studio不断构建所有内容 [英] Visual Studio keeps building everything

查看:111
本文介绍了Visual Studio不断构建所有内容的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个很大的.sln文件,其中包含许多项目.

I have a large .sln file with many projects.

我刚刚对项目A进行了更改,它还构建了其他9个项目A引用但没有代码更改的项目.

I just made a change in project A and it builds nine other projects that project A references, but that had no code change.

是否有技巧来加快此过程?

Is there a trick to speed this process up?

推荐答案

划分并征服:通过创建包含您正在处理的项目的逻辑子集的其他解决方案来限制解决方案中进行的构建时间.这会限制您的范围,并会加快构建速度.

Divide and conquer: Limit the amount of build time that goes on in your solution by creating additional solutions that contain logical subsets of projects you're working on. This limits your scope and will speed up builds.

请参阅此MSDN文章中的分区的单一解决方案模型:

See the The Partitioned Single Solution Model in this MSDN article: http://msdn.microsoft.com/en-us/library/ee817674.aspx

文章中的关键语录:

Separate solution files allow you to work on smaller subsystems within your overall system 
but retain the key benefits of project references. Within each subsolution file, 
project references are used between constituent projects.

这篇关于Visual Studio不断构建所有内容的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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