-
Notifications
You must be signed in to change notification settings - Fork 682
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
C# formatter broken in ms-dotnettools.csharp-1.25.0-linux-x64 #5223
Comments
@vdbg Please share your complete OmniSharp Log from the VS Code Output pane. |
Note: the extension auto-upgraded itself from |
Starting in 1.25.0 O# will run by default against an installed .NET 6 SDK (see the announcement at #5120). If you want to continue running against a system install of Mono, you can set |
My system isn't on Mono
|
@vdbg Then you will need to install the .NET 6 SDK. |
Yes, my issue is fixed. It may make sense to disable auto-upgrades of packages on systems where the new required dependencies aren't met. Or to provide a direct explicit error message in the modal dialog (vs. "there is no formatter for 'csharp' files installed"). That'd would minimize the disruption to others. |
It is also worth mentioning that .NET 5 has reached the end of life already https://dotnet.microsoft.com/en-us/platform/support/policy/dotnet-core |
Trying to format a C# file with
ms-dotnettools.csharp-1.25.0-linux-x64
installed gives error message: "there is no formatter for 'csharp' files installed"Reverting to
ms-dotnettools.csharp-1.24.4-linux-x64
fixes it.VS version: code/stable,stable,now 1.67.2-1652812855 amd64 [installed]
OS version: Ubuntu 20.04.4 LTS
The text was updated successfully, but these errors were encountered: