I did the following to run .NET Core 3.1 with JetBrains Rider IDE on my machine.
1. Install .NET Core SDK with Snap
$ sudo snap install dotnet-sdk
$ sudo snap alias dotnet-sdk.dotnet dotnet
2. FIX: dotnet restore - Unable to load the service index for source https://api.nuget.org/v3/index.json
$ sudo ln -s /etc/ssl /usr/lib/ssl
3. FIX: Process terminated. Couldn't find a valid ICU package installed on the system.
$ export DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1
$ dotnet watch run
I have exported this environment variable via .zshrc.
Here is the output of running the test suite of a ASP.NET Core application I am working on:
Test Run Successful.
Total tests: 3
Passed: 3
Total time: 2.3221 Seconds
Test Run Successful.
Total tests: 35
Passed: 35
Total time: 3.6267 Seconds
What surprised me is that there isn't a performance penalty by using the Snap version compared to run the same test suite on Ubuntu, Fedora or Windows which have official packages distributed for their package managers 😃.
Please be aware that Omnisharp is not working properly with the VSCode version that you will find in the Solus package repository because it's the OSS Version of VSCode: https://github.com/OmniSharp/omnisharp-vscode/wiki/Microsoft-.NET-Core-Debugger-licensing-and-Microsoft-Visual-Studio-Code
For this reason I am using JetBrains Rider which is an amazing IDE: https://www.jetbrains.com/rider/