-
Notifications
You must be signed in to change notification settings - Fork 676
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FAILURE: Could not locate Microsoft.CodeAnalysis.VisualBasic.Workspaces.dll #3360
Comments
Attempted the solution mentioned here. Still doesn't work:
I do have a new exception at the end, though:
This suggestion to add latest to omnisharp.path didn't work either. |
Same thing happening here. |
Well, if you know the location of the dll, you can point them to the right direction with omnisharp.json in Home directory ~/.omnisharp/omnisharp.json
I know this is manual work, but I don't know if they managed to work on how to automatically include all the locations of included packages, and all it's tree yet. I also used these settings, but I don't know if they've helped.
|
Hey @snovak7, thanks for the reply.
Unfortunately from some grepping, it seems like Edit: I'm on a Mac (Catalina) BTW. |
I am also on Catalina, if I try to locate it I get it at few locations
They come as part of some package as it seems. You can also get it via NuGet: https://www.nuget.org/packages/Microsoft.CodeAnalysis.VisualBasic.Workspaces/ |
Awesome, thank you! I'll try it and get back to you. |
Hey folks, have you all still seen this with the latest version of the plugin and .NET Core 3.1? Tried to reproduce, but couldn't see anything about failing to load this .dll or others. Thanks! |
Ah forgot to post back here, it seems to have fixed itself a while back for me, possibly because of the update. Thanks! 🙂 |
Thanks for confirming @nicbarker . I'll close this one out |
Issue Description
Opening a C# project with
omnisharp.logginglevel
set totrace
in thesettings.json
results in a bunch of errors, one of which isFAILURE: Could not locate Microsoft.CodeAnalysis.VisualBasic.Workspaces.dll
. Intellisense also does not work.Steps to Reproduce
admin
.dotnet-core
3.0
with chocolatey:choco install dotnetcore-sdk
vscode
with chocolatey:choco install vscode
vscode
on a project from a non-admin
instance of powershell:cd /path/to/your/project; code .
.C#
extension.Expected Behavior
No errors regarding any missing
.dlls
; intellisense works.Actual Behavior
Errors regarding missing
.dlls
; intellisense does not work.Logs
Environment information
VSCode version: 1.39.2
C# Extension: 1.21.5
Dotnet Information
.NET Core SDK (reflecting any global.json): Version: 3.0.100 Commit: 04339c3a26Runtime Environment:
OS Name: Windows
OS Version: 10.0.16299
OS Platform: Windows
RID: win10-x64
Base Path: C:\Program Files\dotnet\sdk\3.0.100\
Host (useful for support):
Version: 3.0.0
Commit: 7d57652f33
.NET Core SDKs installed:
3.0.100 [C:\Program Files\dotnet\sdk]
.NET Core runtimes installed:
Microsoft.AspNetCore.App 3.0.0 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 3.0.0 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 3.0.0 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
To install additional .NET Core runtimes or SDKs:
https://aka.ms/dotnet-download
Visual Studio Code Extensions
The text was updated successfully, but these errors were encountered: