What does the 'Rebuild All' setting do?

风格不统一 提交于 2019-12-11 10:46:33

问题


In visual studio, there is an option to "Rebuild All" from the build menu, what exactly does it do?


回答1:


It cleans every project in your solution and rebuilds all projects.




回答2:


It does rebuilds everything from scratch, but sometimes you need to use clean to clear some old files that stack into the build environment...

I don't know why (yet) but experiences shows sometime a clean is necessary even using rebuild all..




回答3:


It ignores all dependencies between projects, and rebuilds every project in the solution (as if every source file has changed)




回答4:


An example of when you need to do a rebuild: When you change an embedded resource (e.g. xml file, image), you will need to do a rebuild to ensure that the changes are included in the program - embedded resources are not considered to be a dependency when compiling.



来源:https://stackoverflow.com/questions/1865325/what-does-the-rebuild-all-setting-do

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!