Sitelet https://github.com/DotNetWorker/visualstudio-docs/blob/master/docs/msbuild/cppclean-task.md
Skip to content

Latest commit

 

History

History
59 lines (55 loc) · 1.84 KB

File metadata and controls

59 lines (55 loc) · 1.84 KB
title CPPClean Task | Microsoft Docs
ms.custom
ms.date 11/04/2016
ms.reviewer
ms.suite
ms.technology
vs-ide-sdk
ms.tgt_pltfrm
ms.topic article
f1_keywords
vc.task.cppclean
dev_langs
VB
CSharp
C++
jsharp
C++
helpviewer_keywords
MSBuild (Visual C++), CPPClean task
CPPClean task (MSBuild (Visual C++))
ms.assetid b62a482e-8fb5-4999-b50b-6605a078e291
caps.latest.revision 5
author kempb
ms.author kempb
manager ghogen
translation.priority.ht
cs-cz
de-de
es-es
fr-fr
it-it
ja-jp
ko-kr
pl-pl
pt-br
ru-ru
tr-tr
zh-cn
zh-tw

CPPClean Task

Deletes the temporary files that MSBuild creates when a Visual C++ project is built. The process of deleting build files is known as cleaning.

Parameters

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 (*).

Remarks

See Also

Task Reference