OmniSharp / omnisharp-vim

Vim omnicompletion (intellisense) and more for C#
http://www.omnisharp.net
MIT License
1.72k stars 168 forks source link

Pattern not found "/osfu" on Linux #619

Closed ProgrammingLife closed 4 years ago

ProgrammingLife commented 4 years ago

I've completed all the install instructions but I have "Pattern not found" error message. I have some error records in my logs. But how do I install .NETFramework on Linux?

:OmniSharpOpenLog

[fail]: OmniSharp.MSBuild.ProjectLoader
        The reference assemblies for .NETFramework,Version=v4.7.1 were not found. To resolve this, install the Developer Pack (SDK/Targeting Pack) for this framework version or retarget your application. You can download .NET Framework Developer Packs at https://aka.ms/msbuild/developerpacks

I have the latest stable dotnet version:

» dotnet --info 
.NET Core SDK (reflecting any global.json):
 Version:   3.1.401
 Commit:    39d17847db

Runtime Environment:
 OS Name:     linuxmint
 OS Version:  19.1
 OS Platform: Linux
 RID:         linuxmint.19.1-x64
 Base Path:   /usr/share/dotnet/sdk/3.1.401/

Host (useful for support):
  Version: 3.1.7
  Commit:  fcfdef8d6b

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

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

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

Vim: 8.2 Linux Mint: 19.1

nickspoons commented 4 years ago

This issue is very hard to understand. "/osfu" looks like a mapping ... when do you get that error? What is the exact error?

Partial logs are also difficult to read, a single line misses the context of the error.

nickspoons commented 4 years ago

I'm going to close this due to lack of response/information. The error from the included log line appears to be a .NET or possibly OmniSharp-roslyn issue, which I'm happy to try to narrow down but can't actually do anything about in this repo.