Using Rider under Linux: prerequisites
Development in JetBrains Rider under Linux will require at least one of the following additional frameworks depending on the kind of developed application:
- For regular .NET or Mono applications, install the latest stable Mono release from http://www.mono-project.com/download/.
- For .NET Core applications, install .NET Core for Linux.
Please sign in to leave a comment.
JD Please report with Help->Report a Bug. It is not going anywhere without a bug report, I am sorry.
JD, Ivan Shakhov
A temporary workaround I found was to manually install dotnet core in my home directory and add it to my path. This is not the recommended way of running core and is intended for Continuous Integration scenarios but as long as you are a single user on the system and do not mind manually updating then this could be a way to get up and running until a better solution comes along.
https://docs.microsoft.com/en-us/dotnet/core/install/linux-ubuntu#scripted-install
I am using the snap package on Ubuntu (dotnet 5.0.3xx). When trying to create a core project I get an
Any Ideas?
Steed
Help->Report a Bug, agree to attach logs, follow up here with link to the issue.
Ivan Shakhov and Steed
I believe the issue here is related to installing Rider via Snap or Flatpak where permissions are, by design, limited to the user's directory and ownership. This does not allow for Rider to see dotnet unless it is installed also under the current user and most installs are done system wide.
Installing Rider via the JetBrains Toolbox, Using apt, or manually installing appears to solve the permission issues I was having (as I installed first via flatpak) and seems to be similar with snap. Perhaps future versions of Rider can attempt to be aware of this issue in the future or allow for local installations of dotnet similar to npm/golang/composer/etc for the other JetBrains products.
Ivan Shakhov, I created this ticket for this issue: https://youtrack.jetbrains.com/issue/RIDER-67279.
If you are using Ubuntu or a derivative distro (like pop_os), currently the "jammy-updates" suite in the official Ubuntu apt repos contains some of the .net packages, which can interfere with a .net installation done with the packages from the Microsoft apt repo.
I had to pin all the relevant dotnet packages (and reinstall .net), to get Rider to properly recognize the .net sdk. Like so:
Save as
The short of it:
TLDR: What .NET / .NET Core version should I install to provide a compatible MSBuild library? Is it even technically possible to build applications targeting .NET Framework 4.8 with Mono & Rider on Linux?
Cheers,
Adam
On Debian 11, how do I solve the issue "Xamarin Android SDK is not found"? I've tried everything I can think and googled to no end. Any suggestions on how to fix this on Linux?