Export (0) Print
Expand All

SolutionBuild.Clean Method

Deletes all compiler-generated support files for marked projects.

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

void Clean(
	bool WaitForCleanToFinish
)

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, numerous support files can be generated by the compiler, 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.

To mark a project to be built, use the ShouldBuild.

Show:
© 2014 Microsoft