Open m17kea opened 4 years ago
@armitagemderivitec would you perhaps know if you've seen this while having two instances of VSCode open, where one has a newer version of the plugin? We've seen this happen before and suspect it's related to that, but it's also difficult to pin down where the problem is coming from.
@cartermp I cannot be certain now but it's certainly possible. I don't think we have seen it since so happy to close. I'm also facing some unreliability but I'll raise another issue.
We'll leave this open and I'll take it with an investigation label. Since we've seen this come up as well it certainly exists, but might be hard to pinpoint. Thanks for getting back!
I get this periodically when run Restart Omnisharp
command after changing some settings
Can reproduce. Happens to me with the Cake extension everytime it triggers a new build.
Does anyone know what is generating this error? Is it the extension or vs code, or omnisharp?
For me it happens when there a large number of build files and I run a build outside of omnisharp using msbuild. Omnisharp gets confused and crashes.
I started getting it after I upgraded to 1.47.3. I rolled back to 1.47.1 and it went away.
Well now it's happening on 1.47.1.
Disregard - this was due to two open instances with different versions of omnisharp.
Issue Description
Omnisharp crashes with: Error: command 'omnisharp.runCodeAction' already exists
Steps to Reproduce
Unknown/Intermittent
Expected Behavior
Not to crash
Actual Behavior
Crashes
Logs
OmniSharp log
C# log
None
Environment information
VSCode version: 1.45.1 C# Extension: 1.22.0
Mono Information
OmniSharp using built-in monoDotnet Information
.NET Core SDK (reflecting any global.json): Version: 3.1.202 Commit: 6ea70c8dca Runtime Environment: OS Name: Mac OS X OS Version: 10.15 OS Platform: Darwin RID: osx.10.15-x64 Base Path: /usr/local/share/dotnet/sdk/3.1.202/ Host (useful for support): Version: 3.1.4 Commit: 0c2e69caa6 .NET Core SDKs installed: 3.1.202 [/usr/local/share/dotnet/sdk] .NET Core runtimes installed: Microsoft.AspNetCore.All 2.2.7 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.All] Microsoft.AspNetCore.App 2.2.7 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App] Microsoft.AspNetCore.App 3.1.4 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App] Microsoft.NETCore.App 2.2.7 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App] Microsoft.NETCore.App 3.1.4 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App] To install additional .NET Core runtimes or SDKs: https://aka.ms/dotnet-downloadVisual Studio Code Extensions
|Extension|Author|Version| |---|---|---| |auto-using|Fudge|0.7.15| |cmake-test-adapter|derivitec-ltd|0.7.0| |cmake-tools|ms-vscode|1.4.0| |cpptools|ms-vscode|0.28.2| |csharp|ms-dotnettools|1.22.0| |debug|webfreak|0.25.0| |derivitec-python-snippets|derivitec-ltd|1.1.1| |java|redhat|0.62.0| |python|ms-python|2020.5.80290| |remote-containers|ms-vscode-remote|0.117.1| |remote-ssh|ms-vscode-remote|0.51.0| |remote-ssh-edit|ms-vscode-remote|0.51.0| |screen-recorder|wk-j|0.0.2| |vetur|octref|0.24.0| |vscode-docker|ms-azuretools|1.2.1| |vscode-dotnet-adapter|derivitec-ltd|1.3.3| |vscode-java-debug|vscjava|0.26.0| |vscode-java-dependency|vscjava|0.10.2| |vscode-java-pack|vscjava|0.9.1| |vscode-java-test|vscjava|0.22.4| |vscode-lldb|vadimcn|1.5.2| |vscode-maven|vscjava|0.21.4| |vscode-solution-explorer|fernandoescolar|0.3.10| |vscode-test-explorer|hbenl|2.19.1|;