I've found and used this :
to no avail. I can't get a install of .net sdk 5.0 on ubuntu
I try to run a simple Blazor project, I get this :
dotnet-sdk.dotnet electronize init
It was not possible to find any compatible framework version
The framework 'Microsoft.NETCore.App', version '3.1.0' was not found. - The following frameworks were found: 5.0.0-rc.2.20475.5 at [/snap/dotnet-sdk/103/shared/Microsoft.NETCore.App]
You can resolve the problem by installing the specified framework and/or SDK.
The specified framework can be found at: - 2 1 Answer
You already have a 5.0.0 environment, and dotnet even detects it, as shown in your output:
- The following frameworks were found: 5.0.0-rc.2.20475.5 at [/snap/dotnet-sdk/103/shared/Microsoft.NETCore.App]Your problem isn't that you don't have a 5.0.0 environment, it's that the project you're working with wants an older version, 3.1.0 specifically.
So the problem isn't that you don't have 5.0.0 installed but that your project just doesn't work with 5.0.0