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

1.25.1 no longer finds Mono installation #5443

Closed
heshuimu opened this issue Nov 9, 2022 · 16 comments · Fixed by #5444
Closed

1.25.1 no longer finds Mono installation #5443

heshuimu opened this issue Nov 9, 2022 · 16 comments · Fixed by #5444

Comments

@heshuimu
Copy link

heshuimu commented Nov 9, 2022

Issue Description

1.25.1 no longer finds Mono installation

Steps to Reproduce

Configure Mono with 1.25.0 and see things are working, and then upgrade C# plugin to 1.25.1 and see the dialog when opening C# project saying that Mono must be installed.

image

Logs

OmniSharp log

OmniSharp failed to start because of missing requirements.

C# log

Empty

Environment information

VSCode version: 1.72.0
C# Extension: 1.25.1

Mono Information OmniSharp using mono: 6.12.0
Dotnet Information .NET SDK: Version: 7.0.100 Commit: e12b7af219

Runtime Environment:
OS Name: Mac OS X
OS Version: 13.0
OS Platform: Darwin
RID: osx.13-arm64
Base Path: /usr/local/share/dotnet/sdk/7.0.100/

Host:
Version: 7.0.0
Architecture: arm64
Commit: d099f075e4

.NET SDKs installed:
6.0.201 [/usr/local/share/dotnet/sdk]
6.0.301 [/usr/local/share/dotnet/sdk]
6.0.402 [/usr/local/share/dotnet/sdk]
6.0.403 [/usr/local/share/dotnet/sdk]
7.0.100 [/usr/local/share/dotnet/sdk]

.NET runtimes installed:
Microsoft.AspNetCore.App 6.0.3 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 6.0.6 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 6.0.10 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 6.0.11 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 7.0.0 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 6.0.3 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.6 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.10 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.11 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 7.0.0 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]

Other architectures found:
x64 [/usr/local/share/dotnet]
registered at [/etc/dotnet/install_location_x64]

Environment variables:
Not set

global.json file:
Not found

Learn more:
https://aka.ms/dotnet/info

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

Visual Studio Code Extensions
Extension Author Version
better-cpp-syntax jeff-hykin 1.16.3
cpptools ms-vscode 1.12.4
cpptools-extension-pack ms-vscode 1.3.0
cpptools-themes ms-vscode 2.0.0
csharp ms-dotnettools 1.25.1
doxdocgen cschlosser 1.4.0
errorlens usernamehw 3.6.0
mono-debug ms-vscode 0.16.3
shaderlabvscode amlovey 1.2.4
subtitles-editor pepri 1.1.7
unity-debug deitry 3.0.11
vscode-antlr4 mike-lischke 2.3.1
vscode-clang mitaki28 0.2.4
vscode-icons vscode-icons-team 12.0.1
vscode-jupyter-slideshow ms-toolsai 0.1.5
@Seikho
Copy link

Seikho commented Nov 9, 2022

Same situation here as well on Ubuntu 22.

@Weiged
Copy link

Weiged commented Nov 9, 2022

same here

@jtsorlinis
Copy link

Same issue here on Mac OS Ventura 13.0.

Working fine on 1.25.0

@ZeroBloodedge
Copy link

Same here on MacOS Ventura.

@filipw
Copy link
Contributor

filipw commented Nov 9, 2022

I apologize for the trouble you are going through.
This is addressed in #5444.

@filipw
Copy link
Contributor

filipw commented Nov 9, 2022

FWIW @dibarbet is empowered to release an update (or perhaps first a prerelease VISX package)

@stewartm83
Copy link

@filipw did they manage to release the patch?

@dartyuhov
Copy link

for those who searching for a quick solution:

uninstall c# extension from vscode
download vsix for your platform from here https://github.com/OmniSharp/omnisharp-vscode/releases/tag/v1.25.0
and install it like this:
image

@RaimondZoc
Copy link

RaimondZoc commented Nov 9, 2022

for those who searching for a quick solution:

uninstall c# extension from vscode download vsix for your platform from here https://github.com/OmniSharp/omnisharp-vscode/releases/tag/v1.25.0 and install it like this: image

worked for me, thanks a lot!

After installing you'll want to disable the automatic updates on the c# extension until the issue is solved. Otherwise the problem will come back

@sq5
Copy link

sq5 commented Nov 9, 2022

downgraded to 1.25 to fix this problem

@DMaxwell02
Copy link

downgraded to 1.25 also fixed my problem

@EnderDremurr
Copy link

downgrade helped

@333fred
Copy link
Member

333fred commented Nov 9, 2022

We will be looking at doing an emergency 1.25.2 release to address. Locking this thread for now to avoid burying information.

@dotnet dotnet locked as resolved and limited conversation to collaborators Nov 9, 2022
@dibarbet
Copy link
Member

1.25.2 has been released. Please file a new issue if you still encounter issues. Thanks all!

@dotnet dotnet unlocked this conversation Nov 10, 2022
neoGeneva pushed a commit to neoGeneva/omnisharp-vscode that referenced this issue Nov 10, 2022
* Prepare for 1.25.2 release

Emergency release for dotnet#5443.
@proelf98
Copy link

On MacOS Ventura it worked again when I installed .Net (ARM Version) instead of x64.
Thanks for the tip @Hamedkabir

@psaraviaq
Copy link

Hope it'll work for Windows too in future versions ...

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

Successfully merging a pull request may close this issue.