SolutionBuild2::Clean Method (Boolean)

 

Deletes all compiler-generated support files for marked projects.

Namespace:   EnvDTE80
Assembly:  EnvDTE80 (in EnvDTE80.dll)

void Clean(
	bool WaitForCleanToFinish = false
)

Parameters

WaitForCleanToFinish
Type: System::Boolean

Optional. Determines whether Build retains control until the build operation is complete. Default value is false.

When a project is built, the compiler can generate numerous support files, such as, .idl files, .obj files, and so forth. The Clean method deletes all such files from all projects that are marked for build, returning the project to a state similar to never having been built.

This example displays the number of build dependencies, and it then cleans the solution. Open a project in the Visual Studio integrated development environment (IDE) before running this example.

No code example is currently available or this language may not be supported.
Return to top
Show: