Cleaning Project Directories
Home Page (Projects) | Overviews | How Do I... Topics | NMAKE Reference
When you run the Clean command, Visual C++ deletes all intermediate files created during the build process, for example .obj and .pch files, as well as output files such as the .exe or .dll file. The location of these files corresponds to the location specified on the General tab of the Project Settings dialog box, under "Intermediate files" and "Output files".
To clean the active project
- From the Build menu, choose Clean.
To clean a specific project
From the FileView tab, select the project and click the right mouse button.
From the shortcut menu, choose Clean (selection only).
Cleaning a project also deletes files created as a result of running custom build rules.