dotnet/msbuild
WriteOnlyWhenDifferent should check with the same encoding
Aperta
#8361 aperta il 27 gen 2023
Area: TasksPartner requestbackloghelp wantedtriaged
Metriche repository
- Star
- (5062 stelle)
- Metriche merge PR
- (Merge medio 11g 7h) (125 PR mergiate in 30 g)
Descrizione
The encoding is missing on the check for WriteOnlyWhenDifferent
https://github.com/dotnet/msbuild/blob/56087a97257fab6a67d110a7b2c4116f707325ee/src/Tasks/FileIO/WriteLinesToFile.cs#L102
while it's present on the subsequent write: https://github.com/dotnet/msbuild/blob/56087a97257fab6a67d110a7b2c4116f707325ee/src/Tasks/FileIO/WriteLinesToFile.cs#L121