flathub / org.freedesktop.Sdk.Extension.dotnet

1 stars 3 forks source link

Forgive my idiocy but how is this installed? #15

Open ronbarbosa opened 3 years ago

ronbarbosa commented 3 years ago

I've downloaded the flatpak and it shows as installed, but cannot be found by VSCode. Looking at the files in the flatpak, it seems like downloading the flatpak might be step zero ... but it doesn't seem to do the actual installation.

I'm running from the 20.08 branch.

I see files in there called install.sh and install-sdk.sh as well as enable.sh. I can sudo these, but that seems ham-handed to me.

I'm relatively new to flatpaks, so I'm not sure how to interpret the manifest.json ... but I feel like somewhere in there is a script I'm supposed to run to build/install the actual runtime.

Any help would be greatly appreciated!

Thanks ... and sorry. I know this is probably a stupid question, but I've been searching for hours with no solution.

teohhanhui commented 3 years ago

You'd have to run something like:

flatpak override --user --env=FLATPAK_ENABLE_SDK_EXT=dotnet com.visualstudio.code

teohhanhui commented 3 years ago

You should install dotnet5 if you don't specifically need .NET 3 compatibility.

flatpak install --user flathub org.freedesktop.Sdk.Extension.dotnet5//20.08
flatpak override --user --env=FLATPAK_ENABLE_SDK_EXT=dotnet5 com.visualstudio.code