Skip to content

[ERROR] Error: Found dotnet version 5.0.403. Minimum required version is 6.0.100. #5222

Closed

Description

Issue Description

Omnisharp server will not start when opening dotnet 5 project. The project was working earlier and stopped after a restart. The project files reference the correct version. There is no global.json file in the workspace or containing folders. I see no other omnisharp settings in the workspace or global for vs code.

Steps to Reproduce

Open a dotnet 5 project.

Expected Behavior

Omnisharp server will start.

Actual Behavior

Omnisharp server does not start.

Logs

OmniSharp log

[ERROR] Error: Found dotnet version 5.0.403. Minimum required version is 6.0.100.

Environment information

VSCode version: 1.67.2
C# Extension: 1.25.0

Dotnet Information .NET SDK (reflecting any global.json): Version: 5.0.403 Commit: bf9d168ac2

Runtime Environment:
OS Name: Windows
OS Version: 10.0.19044
OS Platform: Windows
RID: win10-x64
Base Path: C:\Program Files\dotnet\sdk\5.0.403\

Host (useful for support):
Version: 6.0.3
Commit: c24d9a9c91

.NET SDKs installed:
3.1.416 [C:\Program Files\dotnet\sdk]
5.0.403 [C:\Program Files\dotnet\sdk]

.NET runtimes installed:
Microsoft.AspNetCore.App 3.1.22 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 5.0.12 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 3.1.22 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 5.0.12 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 5.0.14 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.3 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 3.1.22 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 5.0.12 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 5.0.14 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 6.0.3 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]

To install additional .NET runtimes or SDKs:
https://aka.ms/dotnet-download

Visual Studio Code Extensions
Extension Author Version
azure-account ms-vscode 0.10.1
azure-pipelines ms-azure-devops 1.205.0
code-runner formulahendry 0.11.7
code-spell-checker streetsidesoftware 2.2.0
copilot GitHub 1.23.5969
csharp ms-dotnettools 1.25.0
EditorConfig EditorConfig 0.16.4
file-downloader mindaro-dev 1.0.12
gitlens eamodio 12.0.6
prettier-vscode esbenp 9.5.0
todo-tree Gruntfuggly 0.0.215
vscode-conventional-commits vivaxy 1.24.1
vscode-docker ms-azuretools 1.22.0
vscode-peacock johnpapa 4.0.1
vscode-yaml redhat 1.7.0
vsliveshare ms-vsliveshare 1.0.5582
vsliveshare-audio ms-vsliveshare 0.1.91
vsliveshare-pack ms-vsliveshare 0.4.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions