Skip to content

Omnisharp Can't Find Mono Installation #5518

Open

Description

Issue Description

Omnisharp can't find the mono installation even though in is installed

Steps to Reproduce

Install mono
uncheck "Use Modern Net"
relaunch vscode

Expected Behavior

Omnisharp Launches

Actual Behavior

Omnisharp asks to install mono

Logs

OmniSharp log

OmniSharp failed to start because of missing requirements.

C# log

Environment information

Mono Version(From Command Line) Mono JIT compiler version 6.12.0.107 (tarball Wed Dec 9 21:44:58 UTC 2020) Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com

TLS: __thread

SIGSEGV: altstack

Notifications: epoll

Architecture: amd64

Disabled: none

Misc: softdebug

Interpreter: yes

LLVM: yes(610)

Suspend: hybrid

GC: sgen (concurrent by default)

MsBuild Info(From Command Line) Microsoft (R) Build Engine version 16.6.0 for Mono Copyright (C) Microsoft Corporation. All rights reserved.

16.6.0.60701

VSCode version: 1.74.2
C# Extension: 1.25.2

Mono Information OmniSharp using mono: 6.12.0
Dotnet Information .NET SDK (反映任何 global.json): Version: 6.0.112 Commit: d311a58ee1

运行时环境:
OS Name: fedora
OS Version: 37
OS Platform: Linux
RID: fedora.37-x64
Base Path: /usr/lib64/dotnet/sdk/6.0.112/

global.json file:
Not found

Host:
Version: 6.0.12
Architecture: x64
Commit: 02e45a41b7

.NET SDKs installed:
6.0.112 [/usr/lib64/dotnet/sdk]

.NET runtimes installed:
Microsoft.AspNetCore.App 6.0.12 [/usr/lib64/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 6.0.12 [/usr/lib64/dotnet/shared/Microsoft.NETCore.App]

Download .NET:
https://aka.ms/dotnet-download

Learn about .NET Runtimes and SDKs:
https://aka.ms/dotnet/runtimes-sdk-info

Visual Studio Code Extensions
Extension Author Version
cmake twxs 0.0.17
cmake-tools ms-vscode 1.12.27
cpptools ms-vscode 1.13.9
cpptools-extension-pack ms-vscode 1.3.0
cpptools-themes ms-vscode 2.0.0
csharp ms-dotnettools 1.25.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions