Skip to content
This repository was archived by the owner on Oct 20, 2025. It is now read-only.
This repository was archived by the owner on Oct 20, 2025. It is now read-only.

Enhance DeleteTree with provisions for retrying on set intervals #286

@dsidirop

Description

@dsidirop

Retrying comes in handy when having to deal with the quirks that crop up when we try to deploy websites on IIS (running w3p.exe processes lock the directory and prevent < RemoveDir > from working as intended):

https://social.msdn.microsoft.com/Forums/vstudio/en-US/cb6acfa3-88e8-43c9-9a8b-0001b5ecf4e7/random-build-failures-on-removedir-task-error-msb3231-unable-to-remove-directory?forum=tfsbuild

Something like:

< DeleteTree
Directories="..."
Retries="3"
RetryDelayMilliseconds="300" >

Would be nice I guess.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions