Open sameeragrawal opened 3 years ago
That's a proper crash. Is this happening just on any project? Or a specific project?
Related #3694
@nohwnd Currently I am only working on one project in my setup. I'll check with some other projects as well.
i can consistently reproduce this by switching between branches that target .Net Core 3.1 vs .Net 6.0. There are other scenarios, but this is a sure way to crash OmniSharp. A Reload Window gets it running again, but super annoying.
This has been resolved with the .NET 6 build of OmniSharp. See the instructions here on how to enable it https://github.com/OmniSharp/omnisharp-vscode/releases
Issue Description
Steps to Reproduce
Just keep working on the .NET core project.
Expected Behavior
Omnisharp runs in background and provides intellisense, code completion etc.
Actual Behavior
Omnisharp crashes after some time
Logs
OmniSharp log
C# log
Environment information
VSCode version: 1.59.1 C# Extension: 1.23.14
Mono Information
OmniSharp using built-in monoDotnet Information
.NET SDK (reflecting any global.json): Version: 6.0.100-preview.7.21379.14 Commit: 22d70b47bc Runtime Environment: OS Name: Mac OS X OS Version: 11.5 OS Platform: Darwin RID: osx.11.0-arm64 Base Path: /usr/local/share/dotnet/sdk/6.0.100-preview.7.21379.14/ Host (useful for support): Version: 6.0.0-preview.7.21377.19 Commit: 91ba01788d .NET SDKs installed: 6.0.100-preview.7.21379.14 [/usr/local/share/dotnet/sdk] .NET runtimes installed: Microsoft.AspNetCore.App 6.0.0-preview.6.21355.2 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App] Microsoft.AspNetCore.App 6.0.0-preview.7.21378.6 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App] Microsoft.NETCore.App 6.0.0-preview.7.21377.19 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App] To install additional .NET runtimes or SDKs: https://aka.ms/dotnet-downloadVisual Studio Code Extensions
|Extension|Author|Version| |---|---|---| |azure-account|ms-vscode|0.9.8| |cmake|twxs|0.0.17| |cmake-tools|ms-vscode|1.7.3| |csharp|ms-dotnettools|1.23.14| |docomment|k--kato|0.1.20| |gitlens|eamodio|11.6.0| |jupyter|ms-toolsai|2021.8.1236758218| |python|ms-python|2021.8.1159798656| |remote-containers|ms-vscode-remote|0.191.1| |terraform|hashicorp|2.14.0| |vscode-azureappservice|ms-azuretools|0.23.0| |vscode-azureresourcegroups|ms-azuretools|0.4.0| |vscode-azurestaticwebapps|ms-azuretools|0.7.1| |vscode-docker|ms-azuretools|1.16.0| |vscode-markdownlint|DavidAnson|0.43.2| |vscode-pylance|ms-python|2021.8.2| |vscode-sqlite|alexcvzz|0.13.0|;