In visual studio, there is an option to "Rebuild All" from the build menu, what exactly does it do?
+1
A:
It cleans every project in your solution and rebuilds all projects.
Nikola Smiljanić
2009-12-08 07:45:51
So it's like a Clean followed by a Build?
RCIX
2009-12-08 07:46:22
Of all your projects.
Kyle Rozendo
2009-12-08 07:46:39
Clean and build is not the same as a rebuild (I haven't checked in VS2008, but in VS2005 performing a rebuild all certainly didn't clean the output directories)
Philippe Leybaert
2009-12-08 07:48:32
Ah, thanks! ()()
RCIX
2009-12-08 07:48:46
A:
It ignores all dependencies between projects, and rebuilds every project in the solution (as if every source file has changed)
Philippe Leybaert
2009-12-08 07:47:28
+1
A:
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..
Dani
2009-12-08 07:48:29
A:
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.
row1
2009-12-08 08:43:56