OmniSharp stopped working after update to 1.19.0
See original GitHub issueIssue Description
After installing V1.19.0 of the C# extension, Omnisharp has stopped working in all my workspaces.
When looking at the Omnisharp log there are no visible errors, but it always seem to get stuck after the first Adding project ..../.../Project.csproj
, no timeout or anything else comes after some time waiting.
I checked my .Net runtime version and it’s 4.7.2 (461814)
Steps to Reproduce
- Update 1.19.0 of the C# Extension was automatically installed by VSCode.
Expected Behavior
- Omnisharp and intellisense should keep working normally.
Actual Behavior
- Omnisharp does not load anymore.
Logs
OmniSharp log
OmniSharp server started. Path: C:\Users\xxx.vscode\extensions\ms-vscode.csharp-1.19.0.omnisharp\1.32.18\OmniSharp.exe PID: 8892
Starting OmniSharp on Windows 6.2.9200.0 (x64)
DotNetPath set to dotnet
Located 2 MSBuild instance(s)
1: Visual Studio Professional 2017 15.8.28010.2026 - "C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\Bin"
2: StandAlone 15.0 - "C:\Users\xxx\.vscode\extensions\ms-vscode.csharp-1.19.0\.omnisharp\1.32.18\.msbuild\Current\Bin"
Registered MSBuild instance: Visual Studio Professional 2017 15.8.28010.2026 - "C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\Bin"
Detecting Cake files in 'c:\Users\xxx\Projects\xxx'.
Could not find any Cake files
Project system 'OmniSharp.DotNet.DotNetProjectSystem' is disabled in the configuration.
No solution files found in 'c:\Users\xxx\Projects\xxx'
Queue project update for 'c:\Users\xxx\Projects\xxx\src\Mod1\Mod1.csproj'
Queue project update for 'c:\Users\xxx\Projects\xxx\src\Mod2\Mod2.csproj'
Detecting CSX files in 'c:\Users\xxx\Projects\xxx'.
Could not find any CSX files
Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.CSharpWorkspaceOptionsProvider
Loading project: c:\Users\xxx\Projects\xxx\src\Mod1\Mod1.csproj
Configuration finished.
Omnisharp server running using Stdio at location 'c:\Users\xxx\Projects\xxx' on host 19060.
Successfully loaded project file 'c:\Users\xxx\Projects\xxx\src\Mod1\Mod1.csproj'.
Adding project 'c:\Users\xxx\Projects\xxx\src\Mod1\Mod1.csproj'
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.1.402 Commit: 3599f217f4Runtime Environment: OS Name: Windows OS Version: 10.0.17763 OS Platform: Windows RID: win10-x64 Base Path: C:\Program Files\dotnet\sdk\2.1.402\
Host (useful for support): Version: 2.1.4 Commit: 85255dde3e
.NET Core SDKs installed: 1.1.4 [C:\Program Files\dotnet\sdk] 2.1.302 [C:\Program Files\dotnet\sdk] 2.1.402 [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.4 [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.4 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App] Microsoft.NETCore.App 1.0.7 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.NETCore.App 1.1.4 [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.4 [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 |
---|---|---|
beautify | HookyQR | 1.4.11 |
code-settings-sync | Shan | 3.2.8 |
csharp | ms-vscode | 1.19.0 |
EditorConfig | EditorConfig | 0.13.0 |
gitlens | eamodio | 9.6.1 |
markdown-pdf | yzane | 1.2.0 |
material-icon-theme | PKief | 3.7.0 |
Material-theme | zhuangtongfa | 2.21.0 |
mssql | ms-mssql | 1.5.0 |
project-manager | alefragnani | 10.5.1 |
python | ms-python | 2019.3.6558 |
theme-dracula | dracula-theme | 2.17.0 |
vim | vscodevim | 1.4.0 |
vsc-material-facebook-theme | rmarganti | 1.1.0 |
vsc-material-theme | Equinusocio | 2.8.2 |
vscode-nuget-package-manager | jmrog | 1.1.6 |
vsliveshare | ms-vsliveshare | 1.0.45 |
Thanks
Issue Analytics
- State:
- Created 4 years ago
- Reactions:13
- Comments:21 (7 by maintainers)
Top GitHub Comments
@iSazonov FYI. I was able to downgrade using the built-in option in VSCode, right click on extension and “Install another version…”
Exact same problem with ms-vscode.csharp 1.19.0 on Windows 10 .NET 4.7.2 (46184).
(Only a downgrade to 1.18 works…)