Rider stuck on "Toolset and Build" loading

I'm trying to connect Rider to WSL.

First problem that Riders seems to be unable to resolve dotnet version managed by asdf, but when I try to specify path in settings, it is getting stuck forever in that “loading” screen when trying to open “Toolset and build”.

Running application from terminal - “dotnet watch” works.

But truying to run it by Rider gives following error - 
 

You must install .NET to run this application.                                                                                                                                                          
                                                                                                                                                                                                       
App: /home/ilyus/projects/...                                                                                                                      
Architecture: x64                                                                                                                                                                                       
App host version: 6.0.26                                                                                                                                                                                
.NET location: Not found                                                                                                                                                                                
                                                                                                                                                                                                       
Learn about runtime installation:                                                                                                                                                                       
https://aka.ms/dotnet/app-launch-failed                                                                                                                                                                 
                                                                                                                                                                                                       
Download the .NET runtime:                                                                                                                                                                              
https://aka.ms/dotnet-core-applaunch?missing_runtime=true&arch=x64&rid=ubuntu.22.04-x64&apphost_version=6.0.26                                                                                          
                                                                                                                                                                                                       
Process finished with exit code 131.                                                                                                                                                                    
                                       
0
2 comments

There could be some compatibility problems with the dotnet SDK managed by asdf. Please refer to this answer in the existing thread.

Basically, dotnet allows to install multiple SDK versions on a same machine, and usually it's specified in global.json

For the settings keep loading issue in the screenshot, it's a known issue in the EAP version. 

RIDER-105384 rider remote development cannot fix issue in settings

We would appreciate it if you would upvote it and click Watch to monitor the status.

0

thank you for the reply!

I'm following the issue now.

When settings will work I will check does it allow me to specify path to dotnet managed by asdf there.

I have .tool-versions file to manage dotnet version, but I ofc ca cnreate global.json if it will help rider somehow

0

Please sign in to leave a comment.