Remove Intermediate Files

You can delete all executable (.EXE), dynamic link library (.DLL), and Control (.OCX) files by using the Clean command. This command does not remove precompiled header (.PCH) files because the initial generation of .PCH files is time consuming. If the project is a server project that has been registered on the system, the registry entries will not be cleaned up.

Removing the files forces the development environment to build these files if you subsequently click the Build command.

To remove intermediate files

  1. On the Build menu, click Set Active Configuration.

  2. In the Project configurations list, select a project configuration and click OK.

  3. On the FileView pane in the Project Workspace window, select the project.

  4. With the mouse pointer over the selected project, click the right mouse button to display the pop-up menu, and click Clean.

Note   This procedure deletes the intermediate and output files from the intermediate files directory associated with the selected configuration.