Omnisharp-vscode: Intellisense broken Visual Studio code with update to 1.23.3

Created on 14 Oct 2020  路  13Comments  路  Source: OmniSharp/omnisharp-vscode

Environment data

.NET Core SDK (reflecting any global.json):
Version: 3.1.402
Commit: 9b5de826fd

Runtime Environment:
OS Name: ubuntu
OS Version: 20.04
OS Platform: Linux
RID: ubuntu.20.04-x64
Base Path: /usr/share/dotnet/sdk/3.1.402/

Host (useful for support):
Version: 3.1.8
Commit: 9c1330dedd

.NET Core SDKs installed:
3.1.402 [/usr/share/dotnet/sdk]

.NET Core runtimes installed:
Microsoft.AspNetCore.App 3.1.8 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 3.1.8 [/usr/share/dotnet/shared/Microsoft.NETCore.App]

To install additional .NET Core runtimes or SDKs:
https://aka.ms/dotnet-download

OmniSharp log

Starting OmniSharp server at 14/10/2020, 09:35:55
Target: /home/dacapoalcoder/projects/topsecretproject/backend/topsecretproject/topsecretproject.sln

OmniSharp server started.
Path: /home/dacapoalcoder/.vscode/extensions/ms-dotnettools.csharp-1.23.3/.omnisharp/1.37.2/run
PID: 981586

    Starting OmniSharp on ubuntu 20.4 (x64)
    DotNetPath set to dotnet
    Located 1 MSBuild instance(s)
        1: StandAlone 16.8.0 - "/home/dacapoalcoder/.vscode/extensions/ms-dotnettools.csharp-1.23.3/.omnisharp/1.37.2/omnisharp/.msbuild/Current/Bin"
    MSBUILD_EXE_PATH environment variable set to '/home/dacapoalcoder/.vscode/extensions/ms-dotnettools.csharp-1.23.3/.omnisharp/1.37.2/omnisharp/.msbuild/Current/Bin/MSBuild.exe'
    Registered MSBuild instance: StandAlone 16.8.0 - "/home/dacapoalcoder/.vscode/extensions/ms-dotnettools.csharp-1.23.3/.omnisharp/1.37.2/omnisharp/.msbuild/Current/Bin"
        CscToolExe = csc.exe
        MSBuildToolsPath = /home/dacapoalcoder/.vscode/extensions/ms-dotnettools.csharp-1.23.3/.omnisharp/1.37.2/omnisharp/.msbuild/Current/Bin
        CscToolPath = /home/dacapoalcoder/.vscode/extensions/ms-dotnettools.csharp-1.23.3/.omnisharp/1.37.2/omnisharp/.msbuild/Current/Bin/Roslyn
        BypassFrameworkInstallChecks = true
        MSBuildExtensionsPath = /home/dacapoalcoder/.vscode/extensions/ms-dotnettools.csharp-1.23.3/.omnisharp/1.37.2/omnisharp/.msbuild
    Detecting Cake files in '/home/dacapoalcoder/projects/topsecretproject/backend/topsecretproject'.
    Could not find any Cake files
    Detecting projects in '/home/dacapoalcoder/projects/topsecretproject/backend/topsecretproject/topsecretproject.sln'.
    Queue project update for '/home/dacapoalcoder/projects/topsecretproject/backend/topsecretproject/topsecretproject.csproj'
    Queue project update for '/home/dacapoalcoder/projects/topsecretproject/backend/topsecretproject/topsecretproject.Tests/topsecretproject.Tests.csproj'
    Detecting CSX files in '/home/dacapoalcoder/projects/topsecretproject/backend/topsecretproject'.
    Could not find any CSX files
    Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.CSharpFormattingWorkspaceOptionsProvider, Order: 0
    Loading project: /home/dacapoalcoder/projects/topsecretproject/backend/topsecretproject/topsecretproject.csproj
    Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.Completion.CompletionOptionsProvider, Order: 0
    Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.RenameWorkspaceOptionsProvider, Order: 100
    Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.ImplementTypeWorkspaceOptionsProvider, Order: 110
    Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.BlockStructureWorkspaceOptionsProvider, Order: 140
    Configuration finished.
    Omnisharp server running using Stdio at location '/home/dacapoalcoder/projects/topsecretproject/backend/topsecretproject' on host 981065.
    Successfully loaded project file '/home/dacapoalcoder/projects/topsecretproject/backend/topsecretproject/topsecretproject.csproj'.
    Adding project '/home/dacapoalcoder/projects/topsecretproject/backend/topsecretproject/topsecretproject.csproj'
    Loading project: /home/dacapoalcoder/projects/topsecretproject/backend/topsecretproject/topsecretproject.Tests/topsecretproject.Tests.csproj
    Successfully loaded project file '/home/dacapoalcoder/projects/topsecretproject/backend/topsecretproject/topsecretproject.Tests/topsecretproject.Tests.csproj'.
    Adding project '/home/dacapoalcoder/projects/topsecretproject/backend/topsecretproject/topsecretproject.Tests/topsecretproject.Tests.csproj'
    Update project: topsecretproject
    Update project: topsecretproject.Test

Steps to reproduce

Update from version 1.23.2 to 1.23.3

Expected behavior

Intellisense works as normal

Actual behavior

Intellisense options do not show up when using dot operator

Most helpful comment

A pre-release build of 1.23.4 is available at https://github.com/OmniSharp/omnisharp-vscode/releases/tag/v1.23.4. Please try it out and let us know if it resolves the issues you are seeing.

All 13 comments

Looks like a related issue at https://github.com/OmniSharp/omnisharp-vscode/issues/4110

Downgrading from 1.23.3 to 1.23.2 fixes the problem for me for now.

I can confirm that I also have this issue and that downgrading has also fixed it for me

Running into the same thing, but downgrading to 1.23.2 does not fix it for me

@oskarious What version of .net sdk are you running

@DaCapoAlCoder 3.1.403. Was on 3.0.101 previously, but updating didn't seem to help unfortunately

@oskarious Downgrading to 3.1.402 might get it working for you again. I've ran into an issue before where omnisharp broke after upgrading the sdk

this is resolved in https://github.com/OmniSharp/omnisharp-roslyn/pull/1984 which will be released with extension 1.23.4

@DaCapoAlCoder Same on 3.1.402 unfortunately. Thanks for the help though, appreciated. I'll hold out until 1.23.4 which @filipw just mentioned. 馃檹

Running into the same thing, but downgrading to 1.23.2 does not fix it for me

@oskarious You also have to regenerate your CS Project files:

image

A pre-release build of 1.23.4 is available at https://github.com/OmniSharp/omnisharp-vscode/releases/tag/v1.23.4. Please try it out and let us know if it resolves the issues you are seeing.

@JoeRobich After a cursory run through that seems to have fixed it

Good god, every update from omnisharp makes my heart beats faster...

@JoeRobich After a cursory run through that seems to have fixed it

thanks for confirming

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ghost picture ghost  路  3Comments

visten picture visten  路  4Comments

tstivers1990 picture tstivers1990  路  3Comments

olfek picture olfek  路  3Comments

nguillermin picture nguillermin  路  3Comments