Skip to content
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

mono: command not found #5127

Closed
halilkocaoz opened this issue Mar 25, 2022 · 1 comment
Closed

mono: command not found #5127

halilkocaoz opened this issue Mar 25, 2022 · 1 comment

Comments

@halilkocaoz
Copy link

Environment data

dotnet --info output:
.NET SDK (reflecting any global.json):
Version: 6.0.200
Commit: 4c30de7899

Runtime Environment:
OS Name: Mac OS X
OS Version: 12.2
OS Platform: Darwin
RID: osx.12-arm64
Base Path: /usr/local/share/dotnet/sdk/6.0.200/

Host (useful for support):
Version: 6.0.2
Commit: 839cdfb0ec

.NET SDKs installed:
6.0.200 [/usr/local/share/dotnet/sdk]

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

To install additional .NET runtimes or SDKs:
https://aka.ms/dotnet-download
VS Code version:
1.65.2
c722ca6c7eed3d7987c0d5c3df5c45f6b15e77d1
arm64
C# Extension version:v1.24.1

OmniSharp log

Starting OmniSharp server at 3/26/2022, 12:41:53 AM
Target: /Users/halilkocaoz/.../.../AnyProject.sln

OmniSharp server started.
Path: /Users/halilkocaoz/.vscode/extensions/ms-dotnettools.csharp-1.24.1/.omnisharp/1.38.3-beta.31/run
PID: 11266

/Users/halilkocaoz/.vscode/extensions/ms-dotnettools.csharp-1.24.1/.omnisharp/1.38.3-beta.31/run: line 25: mono: command not found

Steps to reproduce

trying restart omnisharp and getting:
[ERROR] Attempt to restart OmniSharp server failed because another server instance is starting.

Expected behavior

Loading projects, working on environment without installing mono.

Actual behavior

After one minute:
[ERROR] Error: OmniSharp server load timed out. Use the 'omnisharp.projectLoadTimeout' setting to override the default delay (one minute).

@halilkocaoz
Copy link
Author

It's related to #5120,

Adding "omnisharp.useModernNet": true, on settings.json is solved my problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant