dotnet / dotnet/msbuild

Make WriteCodeFragment and WriteLinesToFile idempotent by default

Open
#3,597 6 comments 0 reactions 0 assignees View on GitHub
needs-design triaged
Dominant language
C#
Stars
5.5k
Forks
1.5k
Avg merge
1d 13h
Merged PRs (30d)
133

Description

Tasks that write text to a file, if that file exists, should first read the text, compare with what they're about to write, and avoid touching the file if the content is identical.

This would be good for incremental builds.

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.