You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After upgrading to the latest release of this package, version 3.2.107702, when I ran dotnet format for the first time it modified the encoding of some files. After that, running dotnet format makes no changes, but when I run dotnet format --check --dry-run it returns a non zero exit code and prints and message about the encoding of almost every file in my project.
MyProject/Whatever.cs(1,1): Fix file encoding.
When I run with or without the check flags, it prints a message saying it formatted every file in my project, which is also new, but nothing has changed, at least that git can detect.
Formatted code file 'Whatever.cs'.
I am using the editorconfig option charset = utf-8, and have observed this issue on MacOS and linux.
After upgrading to the latest release of this package, version 3.2.107702, when I ran
dotnet formatfor the first time it modified the encoding of some files. After that, runningdotnet formatmakes no changes, but when I rundotnet format --check --dry-runit returns a non zero exit code and prints and message about the encoding of almost every file in my project.When I run with or without the check flags, it prints a message saying it formatted every file in my project, which is also new, but nothing has changed, at least that git can detect.
I am using the editorconfig option
charset = utf-8, and have observed this issue on MacOS and linux.