This documentation is archived and is not being maintained.
Removes the specified directories and all of its files and subdirectories.
The following table describes the parameters of the
ITaskItem  parameter.
Specifies the directories to delete.
ITaskItem  output parameter.
Contains the directories that were successfully deleted.
In addition to the parameters listed above, this task inherits parameters from the
class, which itself inherits from the TaskExtension class. For a list of these additional parameters and their descriptions, see Task . TaskExtension Base Class
The following example removes the directories specified by the
OutputDirectory and DebugDirectory properties. These paths are treated as relative to the project directory.