dotnet / dotnet/msbuild

Implement retries with exponential backoff consistently in Tasks that hold file handles

Open
#13,833 2 comments 0 reactions 0 assignees View on GitHub
Area: Tasks gathering-feedback triaged
Dominant language
C#
Stars
5.5k
Forks
1.5k
Avg merge
1d 8h
Merged PRs (30d)
141

Description

bin/ obj/ clashes are frequent build definition mistake.
We have an analyzer for it https://github.com/dotnet/msbuild/blob/main/documentation/specs/BuildCheck/Codes.md?rgh-link-date=2026-05-21T14%3A57%3A03.000Z#bc0101---shared-output-path

In `-mt` builds these errors might be uncovered more frequently due to scheduling with less overhead so critical sections in parallel builds operating on the same files overlap more.

- [ ] do it in all msbuild tasks
- [ ] do it in all sdk tasks
- [ ] document that external task authors should do it

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.