Clean Solution

The Solution Explorer in Visual Studio 2005 now makes it easy for you to clean up unwanted files. Simply choose Clean Solution from the Build Menu and all the intermediate files and output directories in your whole solution will be removed. This is a quicker and easier way to perform the same cleanup as you could in the command line environment with the following syntax:

devenv /clean SolnConfigName SolutionName

For Visual C++ you can also use the Project Only submenu of the Build menu to clean only the project currently selected in Solution Explorer, without cleaning any project dependencies or solution files.

Just select the Clean Solution option from the Build menu to eliminate those unwanted files