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

Extension fails on ARM #3553

Closed
bradcla opened this issue Feb 5, 2020 · 3 comments
Closed

Extension fails on ARM #3553

bradcla opened this issue Feb 5, 2020 · 3 comments

Comments

@bradcla
Copy link

bradcla commented Feb 5, 2020

Issue Description

I have tried this with dotnet 3.1, dotnet 3.0 and now dotnet 2.2. I have a Raspberry Pi 4 running Raspian Stretch configured with key authentication. I am getting the following error;

[ERROR] Error: spawn /home/pi/.vscode-server/extensions/ms-vscode.csharp-1.21.10/.omnisharp/1.34.10/run ENOENT

The .omnisharp directory does not exist.

I even went back to an older version of OmniSharp to see if that would resolve the issue.

I am doing development from Windows 10 using VS Code. When I install the extension the above error is reported in the OmniSharp log.

Steps to Reproduce

I reinstall from the same Raspian disk image before attempting any of the above variants.

Expected Behavior

I expect OmniSharp to install properly and simplify my development process.

Actual Behavior

Error is reported when extension is installed on remote server.

Starting OmniSharp server at 2/5/2020, 6:33:48 PM
Target: /home/pi/src/Test1

[ERROR] Error: spawn /home/pi/.vscode-server/extensions/ms-vscode.csharp-1.21.10/.omnisharp/1.34.10/run ENOENT

Logs

OmniSharp log

Post the output from Output-->OmniSharp log here

C# log

Post the output from Output-->C# here
Starting OmniSharp server at 2/5/2020, 6:33:48 PM Target: /home/pi/src/Test1

[ERROR] Error: spawn /home/pi/.vscode-server/extensions/ms-vscode.csharp-1.21.10/.omnisharp/1.34.10/run ENOENT

Environment information

VSCode version: 1.41.1
C# Extension: 1.21.10

Mono Information OmniSharp using built-in mono
Dotnet Information .NET Core SDK (reflecting any global.json): Version: 2.2.110 Commit: 4797dabd3c

Runtime Environment:
OS Name: raspbian
OS Version: 10
OS Platform: Linux
RID: linux-arm
Base Path: /home/pi/dotnet/sdk/2.2.110/

Host (useful for support):
Version: 2.2.8
Commit: b9aa1abc51

.NET Core SDKs installed:
2.2.110 [/home/pi/dotnet/sdk]

.NET Core runtimes installed:
Microsoft.AspNetCore.All 2.2.8 [/home/pi/dotnet/shared/Microsoft.AspNetCore.All]
Microsoft.AspNetCore.App 2.2.8 [/home/pi/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 2.2.8 [/home/pi/dotnet/shared/Microsoft.NETCore.App]

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

Visual Studio Code Extensions
Extension Author Version
csharp ms-vscode 1.21.10
@gregg-miskelly gregg-miskelly changed the title Error spawn ENOENT Extension fails on ARM Feb 5, 2020
@gregg-miskelly
Copy link
Contributor

This extension will not work on ARM.

@filipw
Copy link
Contributor

filipw commented Feb 6, 2020

OmniSharp doesn't support ARM at the moment. We discussed this recently and it may be feasible to add it though.

@gregg-miskelly
Copy link
Contributor

This is a duplicate of #2771

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

No branches or pull requests

4 participants