Using the File activity to delete an entire directory

Feb 10, 2012 at 8:29 PM

Can this activity be used to delete a directory of files; by using a Path or RegexPattern activity? 

Coordinator
Feb 16, 2012 at 7:07 AM
Edited Feb 16, 2012 at 7:09 AM

No, it only handles files as of now.

There is an out of the box activity for deleting a directory called DeleteDirectory:
http://msdn.microsoft.com/en-us/library/microsoft.teamfoundation.build.workflow.activities.deletedirectory.aspx