-
Notifications
You must be signed in to change notification settings - Fork 172
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dotnet format is broken on sdk 8.0 preview #1901
Comments
This was fixed by #1885 |
Thanks @sharwell for the info, will it be included in preview 7? Because at the moment, in preview 6, it's still broken on my machines (even with a fresh install on a new machine without any other versions of dotnet or in Windows Sandbox) |
I'm not sure how/when the SDK updates and packaging occur. The fix was first included in 8.0.432702. @arkalyanms |
Looking at the version info in the preview 7 branch (https://github.com/dotnet/sdk/blob/release/8.0.1xx-preview7/eng/Version.Details.xml#L73-L77), it appears the build should contain #1885. |
Great, thank you! Now I know where to look for this info 🙂 |
Can confirm that I have no errors anymore with .NET 8.0.0 Preview 7! ❤ |
@froissant Thanks for confirming! |
When trying to build the project, I am encountering errors on preview 7. Here is the environment information:
|
Running
dotnet format
is broken on sdk 8.0 preview.This is similar to #1800.
Reproduction steps
This was reproduced on fresh installs on multiple machines, all running Ubuntu 22.04 under WSL2
dotnet new webapi
dotnet format
on the created projectExpected
dotnet format
runs on the project without errorsActual
The process errors out with the following log:
Additional information
It was also broken on sdk 8.0.100-preview.5.23303.2
The text was updated successfully, but these errors were encountered: