Visual Studio (2008) 'Clean Solution' Option

Viewed 52707

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

7 Answers

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.

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

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

Related