dotnet / vscode-csharp

Official C# support for Visual Studio Code
MIT License
2.86k stars 673 forks source link

FAILURE: Could not locate Microsoft.CodeAnalysis.VisualBasic.Workspaces.dll #3841

Open m17kea opened 4 years ago

m17kea commented 4 years ago

Issue Description

We have an extremely large solution circa 130 projects which I assume is pushing the performance bounderies of Omnisharp. Intellisense is flakey and often completely unresponsive.

The error in the title is one of several 'could not locate' errors.

Steps to Reproduce

Open vs code, wait for Omnisharp to finish loading

Expected Behavior

Intellisense works and is responsive. Problems are highlighted in near realtime after initial loading period.

Actual Behavior

Intellisense is flakey or totally unresponsive. Problems are only highlighted after a build.

Logs

N/A

OmniSharp log

omnisharp.log

C# log

N/A

Environment information

VSCode version: 1.46.0 C# Extension: 1.22.0

Mono Information OmniSharp using built-in mono
Dotnet 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-download
Visual Studio Code Extensions |Extension|Author|Version| |---|---|---| |cmake-test-adapter|derivitec-ltd|0.7.2| |cmake-tools|ms-vscode|1.4.0| |cpptools|ms-vscode|0.28.3| |csharp|ms-dotnettools|1.22.0| |debug|webfreak|0.25.0| |screen-recorder|wk-j|0.0.2| |vetur|octref|0.24.0| |vscode-dotnet-adapter|derivitec-ltd|1.3.3| |vscode-lldb|vadimcn|1.5.3| |vscode-solution-explorer|fernandoescolar|0.3.10| |vscode-test-explorer|hbenl|2.19.1|;
m17kea commented 4 years ago

I searched my system for the file in question:

find / -name "Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll"

/Users/michael.armitage/.nuget/packages/microsoft.codeanalysis.csharp.workspaces/3.3.1/lib/netstandard2.0/zh-Hans/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll
/Users/michael.armitage/.nuget/packages/microsoft.codeanalysis.csharp.workspaces/3.3.1/lib/netstandard2.0/zh-Hant/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll
/Users/michael.armitage/.nuget/packages/microsoft.codeanalysis.csharp.workspaces/3.3.1/lib/netstandard2.0/pl/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll
/Users/michael.armitage/.nuget/packages/microsoft.codeanalysis.csharp.workspaces/3.3.1/lib/netstandard2.0/ja/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll
/Users/michael.armitage/.nuget/packages/microsoft.codeanalysis.csharp.workspaces/3.3.1/lib/netstandard2.0/it/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll
/Users/michael.armitage/.nuget/packages/microsoft.codeanalysis.csharp.workspaces/3.3.1/lib/netstandard2.0/cs/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll
/Users/michael.armitage/.nuget/packages/microsoft.codeanalysis.csharp.workspaces/3.3.1/lib/netstandard2.0/ru/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll
/Users/michael.armitage/.nuget/packages/microsoft.codeanalysis.csharp.workspaces/3.3.1/lib/netstandard2.0/pt-BR/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll
/Users/michael.armitage/.nuget/packages/microsoft.codeanalysis.csharp.workspaces/3.3.1/lib/netstandard2.0/de/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll
/Users/michael.armitage/.nuget/packages/microsoft.codeanalysis.csharp.workspaces/3.3.1/lib/netstandard2.0/ko/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll
/Users/michael.armitage/.nuget/packages/microsoft.codeanalysis.csharp.workspaces/3.3.1/lib/netstandard2.0/fr/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll
/Users/michael.armitage/.nuget/packages/microsoft.codeanalysis.csharp.workspaces/3.3.1/lib/netstandard2.0/es/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll
/Users/michael.armitage/.nuget/packages/microsoft.codeanalysis.csharp.workspaces/3.3.1/lib/netstandard2.0/tr/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll
/Users/michael.armitage/.vscode/extensions/ms-dotnettools.csharp-1.22.0/.razor/OmniSharpPlugin/zh-Hans/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll
/Users/michael.armitage/.vscode/extensions/ms-dotnettools.csharp-1.22.0/.razor/OmniSharpPlugin/zh-Hant/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll
/Users/michael.armitage/.vscode/extensions/ms-dotnettools.csharp-1.22.0/.razor/OmniSharpPlugin/pl/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll
/Users/michael.armitage/.vscode/extensions/ms-dotnettools.csharp-1.22.0/.razor/OmniSharpPlugin/ja/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll
/Users/michael.armitage/.vscode/extensions/ms-dotnettools.csharp-1.22.0/.razor/OmniSharpPlugin/it/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll
/Users/michael.armitage/.vscode/extensions/ms-dotnettools.csharp-1.22.0/.razor/OmniSharpPlugin/cs/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll
/Users/michael.armitage/.vscode/extensions/ms-dotnettools.csharp-1.22.0/.razor/OmniSharpPlugin/ru/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll
/Users/michael.armitage/.vscode/extensions/ms-dotnettools.csharp-1.22.0/.razor/OmniSharpPlugin/pt-BR/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll
/Users/michael.armitage/.vscode/extensions/ms-dotnettools.csharp-1.22.0/.razor/OmniSharpPlugin/de/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll
/Users/michael.armitage/.vscode/extensions/ms-dotnettools.csharp-1.22.0/.razor/OmniSharpPlugin/ko/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll
/Users/michael.armitage/.vscode/extensions/ms-dotnettools.csharp-1.22.0/.razor/OmniSharpPlugin/fr/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll
/Users/michael.armitage/.vscode/extensions/ms-dotnettools.csharp-1.22.0/.razor/OmniSharpPlugin/es/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll
/Users/michael.armitage/.vscode/extensions/ms-dotnettools.csharp-1.22.0/.razor/OmniSharpPlugin/tr/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll
m17kea commented 4 years ago

@cartermp posted as promised! Thanks

m17kea commented 4 years ago

Similar to #3360