views:

12514

answers:

4

What does this option do? It is accessible from the Build menu.

+1  A: 

Erases files created during compilation process. Effectively forces a full recompile/build next time.

Brian Knoblauch
+41  A: 

It deletes all the compiled and temporary files associated with a solution. It ensures that the next build is a full one, rather than only changed files being recompiled.

David Arno
Then what is the difference between "Build" and "Rebuild All?"
Velika
+22  A: 

It deletes all the object code generated during previous compilation/build. It deletes all below kind of files:-

*.obj - object code

*.pdb - program debug databse file

*.bsc - source browser databse

*.ilk - incremental linker file

*.sbr - source browser intermediate file

*.idb - rebuild dependency file

*.lib - library file

*.exe - executable

JFYI - Even a Rebuild All command will do all this and then go on to build the complete set of source files.

-AD

goldenmean
A: 

So is it better to perform a clean solution every while?

Luigi

Luigi