Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register todayThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
This task is only available when using the C++ build system.
Deletes the temporary files that MSBuild creates when a C++ project is built. The process of deleting build files is known as cleaning.
The following table describes the parameters of the CPPClean task.
Parameter | Description |
---|---|
DeletedFiles | Optional ITaskItem[] output parameter.Defines an array of MSBuild output file items that can be consumed and emitted by tasks. |
DoDelete | Optional Boolean parameter. If true , clean temporary build files. |
FilePatternsToDeleteOnClean | Required String parameter.Specifies a semicolon-delimited list of file extensions of files to clean. |
FilesExcludedFromClean | Optional String parameter.Specifies a semicolon-delimited list of files not to clean. |
FoldersToClean | Required String parameter.Specifies a semicolon-delimited list of directories to clean. You can specify a full or a relative path, and the path can contain the wildcard symbol (*). |
Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register today