A few weeks (even months) ago I had a problem that made JetBrains Rider stop working properly on my environment. I figured out that the problem was due the way devenv1 sets up the environment.
Using the dotnet
module on devenv is trivial, you just need to
enable it:
{
languages.dotnet.enable = true;
}
This will set the $DOTNET_ROOT
environment variable with the root
path of your chosen .NET SDK. In this case, you need to set the
following options on Rider:
- Toolset and Build -> .NET CLI executable path:
<$DOTNET_ROOT>/dotnet
- Toolset and Build -> MSBuild version:
<$DOTNET_ROOT>/sdk/<version>/MSBuild.dll
-
Fun fact: I introduced the dotnet module on devenv!↩