重建和Visual Studio 2008的清洁+构建的区别 [英] Difference between Rebuild and Clean + Build in Visual Studio 2008
问题描述
之间有什么区别只是重建并做一个的清除 + 构建的在Visual Studio 2008?是的清除 + 构建的不同,那么这样做的清除 + 重建的?
What is the difference between just a Rebuild and doing a Clean + Build in Visual Studio 2008? Is Clean + Build different then doing Clean + Rebuild?
推荐答案
重建=清洁+建立
值得注意的细节:
-
对于多项目解决方案,重建解决方案做一个干净其次是建为每个项目(可能并行)。而一个干净的解决方案,后跟一个生成解决方案首先清除所有项目(可能在平行),然后生成所有项目(可能在并行)。当项目间的依存关系开始发挥作用,在事件的测序这种差异可以成为显著。
For a multi-project solution, "rebuild solution" does a "clean" followed by a "build" for each project (possibly in parallel). Whereas a "clean solution" followed by a "build solution" first cleans all projects (possibly in parallel) and then builds all projects (possibly in parallel). This difference in sequencing of events can become significant when inter-project dependencies come into play.
所有三个动作对应的MSBuild目标。因此,一个项目可以覆盖重建动作做完全不同的事情。
All three actions correspond to MSBuild targets. So a project can override the Rebuild action to do something completely different.
这篇关于重建和Visual Studio 2008的清洁+构建的区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!