How to Recursively Delete wildcard files in TFS Build?

Posted by Chris Arnold on Stack Overflow See other posts from Stack Overflow or by Chris Arnold
Published on 2010-01-19T07:47:48Z Indexed on 2010/05/10 21:14 UTC
Read the original article Hit count: 325

I want to recursively delete files that match a certain pattern as part of my post-build cleanup routines in TFS Build. I've tried this...

<Delete Files="T:\DeploymentDir\**\A*" />

No errors in the build, but it doesn't work.

© Stack Overflow or respective owner

Related posts about build-automation

Related posts about tfsbuild