OmniSharp fails to run with the new 1.19 update
See original GitHub issueIssue Description
OmniSharp fails to run with the new 1.19 update.
Note I am running an older version of Windows 10 that does not support .NET Framework 4.7:
Steps to Reproduce
- Open a C# file
- Check output
Expected Behavior
OmniSharp works and detects problems.
Actual Behavior
OmniSharp crashes on startup.
Logs
OmniSharp log
OmniSharp server started. Path: C:\Users\mat1jaczyyy.vscode\extensions\ms-vscode.csharp-1.19.0.omnisharp\1.32.18\OmniSharp.exe PID: 764
System.IO.FileNotFoundException: Could not load file or assembly ‘netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51’ or one of its dependencies. The system cannot find the file specified. File name: ‘netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51’ at OmniSharp.Stdio.Driver.Program.<>c__DisplayClass0_1.<Main>b__1() at OmniSharp.HostHelpers.Start(Func`1 action)
WRN: Assembly binding logging is turned OFF. To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1. Note: There is some performance penalty associated with assembly bind failure logging. To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
[ERROR] Error: OmniSharp server load timed out. Use the ‘omnisharp.projectLoadTimeout’ setting to override the default delay (one minute).
C# log
Environment information
VSCode version: 1.33.1 C# Extension: 1.19.0
Dotnet Information
.NET Core SDK (reflecting any global.json): Version: 2.2.105 Commit: 7cecb35b92Runtime Environment: OS Name: Windows OS Version: 10.0.10240 OS Platform: Windows RID: win10-x64 Base Path: C:\Program Files\dotnet\sdk\2.2.105\
Host (useful for support): Version: 2.2.3 Commit: 6b8ad509b6
.NET Core SDKs installed: 2.1.202 [C:\Program Files\dotnet\sdk] 2.1.302 [C:\Program Files\dotnet\sdk] 2.1.502 [C:\Program Files\dotnet\sdk] 2.2.105 [C:\Program Files\dotnet\sdk]
.NET Core runtimes installed: Microsoft.AspNetCore.All 2.1.2 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All] Microsoft.AspNetCore.All 2.1.6 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All] Microsoft.AspNetCore.All 2.2.3 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All] Microsoft.AspNetCore.App 2.1.2 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App] Microsoft.AspNetCore.App 2.1.6 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App] Microsoft.AspNetCore.App 2.2.3 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App] Microsoft.NETCore.App 2.0.9 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.NETCore.App 2.1.2 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.NETCore.App 2.1.6 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.NETCore.App 2.2.3 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
To install additional .NET Core runtimes or SDKs: https://aka.ms/dotnet-download
Visual Studio Code Extensions
Extension | Author | Version |
---|---|---|
cpptools | ms-vscode | 0.22.1 |
csharp | ms-vscode | 1.19.0 |
discord-vscode | icrawl | 3.4.0 |
python | ms-python | 2019.3.6558 |
vetur | octref | 0.18.1 |
vscode-xml-complete | rogalmic | 0.1.6 |
vsliveshare | ms-vsliveshare | 1.0.45 |
Issue Analytics
- State:
- Created 4 years ago
- Reactions:4
- Comments:10 (3 by maintainers)
Top GitHub Comments
It is ironic that in order to support .Net Core 3.0 it forces an upgrade of Full Framework when the selling point of 3.0 is that windows desktop apps can use the latest and greatest, independent of the version of full framework installed on the system.
@bruce31 OmniSharp does NOT run on .NET Framework on macOS/Linux. On macOS/Linux, it will run on Mono. On Windows it will run on the full .NET Framework.