fsharp-language-server icon indicating copy to clipboard operation
fsharp-language-server copied to clipboard

"You must install or update .NET to run this application."

Open arialdomartini opened this issue 1 year ago • 2 comments

On Arch Linux I installed

yay -S fsharp dotnet-sdk-bin fsharp-language-server

This installed:

❯ yay -Q | grep "dotnet|fsharp"
dotnet-host 7.0.5.sdk105-1
dotnet-runtime-bin 7.0.5.sdk203-1
dotnet-sdk-bin 7.0.5.sdk203-1
dotnet-targeting-pack-bin 7.0.5.sdk203-1
fsharp 10.2.3-4
fsharp-language-server 0.1.27-1```

When I run fsharp-language-server I get the following error:

You must install or update .NET to run this application.

App: /usr/bin/fsharp-language-server
Architecture: x64
Framework: 'Microsoft.NETCore.App', version '3.0.0' (x64)
.NET location: /usr/share/dotnet

The following frameworks were found:
  7.0.5 at [/usr/share/dotnet/shared/Microsoft.NETCore.App]

Learn about framework resolution:
https://aka.ms/dotnet/app-launch-failed

To install missing framework, download:
https://aka.ms/dotnet-core-applaunch?framework=Microsoft.NETCore.App&framework_version=3.0.0&arch=x64&rid=arch-x64

I'm not sure what is missing.

arialdomartini avatar Jun 04 '23 08:06 arialdomartini

Is

yay -S dotnet-sdk-3.0

required?

arialdomartini avatar Jun 04 '23 08:06 arialdomartini

That's because the published version only supports 3.0 my fork supports up to 5.0 or 6.0 but for fsharp 7.0 just use fsautocomplete. I don't work actively on this extension because I don't use f# much anymore.

faldor20 avatar Jun 04 '23 13:06 faldor20