Rider 2024.2.7 - Error: Select project not found on Ubuntu 24.04
For some reason Rider is giving me an error “Error: Select project not found.” in the Debug-Launcher. Essentially I can't run any web sites for some reason.
When i create a new Blazor or .NET Razor app the launcher will work. Once I restart my laptop the launcher configurations say that they can't find the project. If I try to select a project or runtime there is nothing in the list. Any ideas?
Ubuntu 24.04.1 - with updates
Rider 2024.2.7 - with updates
Please sign in to leave a comment.
I also tried to revert back to the latest stable 2023 version with the same results.
Hello Donniecrump,
This can happen if there is an issue with .NET installation paths/environment variables preventing Rider from accurately detecting valid .NET SDK installations.
Could you clarify how .NET SDK was installed on your system — using Ubuntu repositories, Microsoft repository, snap or manual installation method?
If you used Microsoft repository to install/update .NET SDK, did you use Ubuntu repositories in the past to install .NET?
I installed it using the Ubuntu App Center. It is the latest stable 8.0.403 version published Oct 9th from Canonical. I'm not sure how I installed it previously, but I can try to perform a manual install to see if that helps.
Donniecrump,
Thank you for the information. It sounds like .NET SDK was installed as a snap and there might be an issue with environment variables.
Could you execute the following few commands in the terminal and attach the output of each of them?
Note that you can also save the output of these commands in a file and share it with us via the Upload Service if you are more comfortable sharing this information privately.
I install the SDK from apt-get and verified the dotnet --version 8.0.110. I then checked the settings to make sure Rider was finding the correct path to the SDK. All of this looks good but I'm still unable to run my web site. The interesting thing is i can build the project but not run it. It can't seem to find my project to run. I only have one project in my “solution” so it shouldn't be a conflict issue.
Also, if I try to delete the current configurations and create new ones there are no projects listed to choose from.
Here is the output from the list
**** snap list ****
Name Version Rev Tracking Publisher Notes
bare 1.0 5 latest/stable canonical✓ base
canonical-livepatch 10.9.0 286 latest/stable canonical✓ -
chromium 130.0.6723.69 2985 latest/stable canonical✓ -
core18 20240920 2846 latest/stable canonical✓ base
core20 20240911 2434 latest/stable canonical✓ base
core22 20241001 1663 latest/stable canonical✓ base
core24 20240920 609 latest/stable canonical✓ base
cups 2.4.11-2 1067 latest/stable openprinting✓ -
eclipse 2024-09 101 latest/stable eclipsefoundation classic
firefox 132.0-1 5187 latest/stable mozilla✓ -
firmware-updater 0+git.7983059 147 1/stable/… canonical✓ -
gnome-42-2204 0+git.510a601 176 latest/stable/… canonical✓ -
gtk-common-themes 0.1-81-g442e511 1535 latest/stable/… canonical✓ -
netbeans 23 111 latest/stable apache-netbeans✓ classic
snap-store 0+git.4fcd62b7 1218 2/stable/… canonical✓ -
snapd 2.63 21759 latest/stable canonical✓ snapd
snapd-desktop-integration 0.9 253 latest/stable/… canonical✓ -
**** dotnet --info ****
.NET SDK:
Version: 8.0.110
Commit: 87a66bb3d1
Workload version: 8.0.401-baseline.24412.2
Runtime Environment:
OS Name: ubuntu
OS Version: 24.04
OS Platform: Linux
RID: ubuntu.24.04-x64
Base Path: /usr/lib/dotnet/sdk/8.0.110/
.NET workloads installed:
Workload version: 8.0.401-baseline.24412.2
There are no installed workloads to display.
Host:
Version: 8.0.10
Architecture: x64
Commit: 81cabf2857
.NET SDKs installed:
8.0.110 [/usr/lib/dotnet/sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 8.0.10 [/usr/lib/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 8.0.10 [/usr/lib/dotnet/shared/Microsoft.NETCore.App]
Other architectures found:
None
Environment variables:
Not set
global.json file:
Not found
Learn more:
https://aka.ms/dotnet/info
Download .NET:
https://aka.ms/dotnet/download
**** which dotnet ****
/usr/bin/dotnet
**** echo $DOTNET_ROOT ****
This is blank. Does this need to be set?
Donniecrump, .NET SDK 8.0.110 is a slightly older version of .NET 8 installed from ubuntu repositories. This version of .NET uses non-standard install locations.
You'll need to set
DOTNET_ROOT
pointing to your current .NET install location (/usr/lib/dotnet
). Please try the following steps in your environment:DOTNET_ROOT
in the terminal (DOTNET_ROOT=/usr/lib/dotnet
)snap run rider
if you installed Rider with snap.I ran rider after setting the DOT_NET path and running from the rider launcher file here is what it read out. Also .. at first I had install Rider via the Ubuntu App Store, currently I have it installed using the Jetbrains Toolbox.
Debug | ByteBufferAsyncProcessor | 18:DefaultDispatcher-worker-1 | PAUSE ('Socket not connected') :: {id = EarlyStartServerWire/Sender, state = 'Initialized'}
Debug | Server | 60:EarlyStartServerWire | EarlyStartServerWire: listening /127.0.0.1:37937
Installation home directory: file:////home/dcrump/.local/share/JetBrains/Toolbox/apps/rider
System directory: file:////home/dcrump/.cache/JetBrains/Rider2024.2
Config directory: file:////home/dcrump/.config/JetBrains/Rider2024.2
Log directory: file:////home/dcrump/.cache/JetBrains/Rider2024.2/log
Warning: Not allowed as a service: java.awt.Window.CustomTitleBarPeer
at com.jetbrains.JBR$WindowDecorations__Holder.<clinit>(JBR.java:642)
at com.jetbrains.JBR.getWindowDecorations(JBR.java:662)
at com.intellij.platform.ide.bootstrap.StartupUtil$startApplication$3.invokeSuspend(startup.kt:171)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:608)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:873)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:763)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:750)
Warning: Service not supported: com.jetbrains.WindowDecorations
at com.jetbrains.JBR$WindowDecorations__Holder.<clinit>(JBR.java:642)
at com.jetbrains.JBR.getWindowDecorations(JBR.java:662)
at com.intellij.platform.ide.bootstrap.StartupUtil$startApplication$3.invokeSuspend(startup.kt:171)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:608)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:873)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:763)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:750)
Donniecrump, thank you for the information. This should not affect how Rider runs your project.
Could you check if you are able to run your project when you run Rider via CLI after setting
DOTNET_ROOT
?Still the same issue with launcher. Here is the output from the command line. It looks a little different when I opened my project.
2024-11-04 11:45:12,549 [ 5896] WARN - #c.i.s.ComponentManagerImpl - `preload=TRUE` must be used only for core services (service=com.intellij.cwm.plugin.users.BackendUserManager, plugin=intellij.rider.plugins.cwm)
2024-11-04 11:45:12,549 [ 5896] WARN - #c.i.s.ComponentManagerImpl - `preload=TRUE` must be used only for core services (service=com.intellij.cwm.plugin.ports.CwmPortForwardingToolWindowManager, plugin=intellij.rider.plugins.cwm)
2024-11-04 11:45:12,549 [ 5896] WARN - #c.i.s.ComponentManagerImpl - `preload=TRUE` must be used only for core services (service=com.intellij.cwm.plugin.users.BackendCWMUserFocusHost, plugin=intellij.rider.plugins.cwm)
2024-11-04 11:45:12,550 [ 5897] WARN - #c.i.s.ComponentManagerImpl - `preload=TRUE` must be used only for core services (service=com.intellij.cwm.plugin.following.FollowMeManagerService, plugin=intellij.rider.plugins.cwm)
2024-11-04 11:45:12,550 [ 5897] WARN - #c.i.s.ComponentManagerImpl - `preload=TRUE` must be used only for core services (service=com.intellij.cwm.plugin.following.BackendProjectViewSync, plugin=intellij.rider.plugins.cwm)
2024-11-04 11:45:12,550 [ 5897] WARN - #c.i.s.ComponentManagerImpl - `preload=TRUE` must be used only for core services (service=com.intellij.cwm.plugin.following.BackendFollowMeEditorsHost, plugin=intellij.rider.plugins.cwm)
2024-11-04 11:45:12,550 [ 5897] WARN - #c.i.s.ComponentManagerImpl - `preload=TRUE` must be used only for core services (service=com.intellij.cwm.plugin.following.BackendFollowMeDebuggerHost, plugin=intellij.rider.plugins.cwm)
2024-11-04 11:45:12,550 [ 5897] WARN - #c.i.s.ComponentManagerImpl - `preload=TRUE` must be used only for core services (service=com.intellij.cwm.plugin.following.FollowMeLookupSynchronizer, plugin=intellij.rider.plugins.cwm)
2024-11-04 11:45:12,550 [ 5897] WARN - #c.i.s.ComponentManagerImpl - `preload=NOT_HEADLESS` must be used only for core services (service=com.jetbrains.rdserver.toolWindow.BackendServerToolWindowManager, plugin=intellij.rider.plugins.cwm)
2024-11-04 11:45:12,550 [ 5897] WARN - #c.i.s.ComponentManagerImpl - `preload=TRUE` must be used only for core services (service=com.intellij.ml.inline.completion.csharp.initializer.CSharpFullLineModelInitializer, plugin=com.intellij.ml.inline.completion)
2024-11-04 11:45:12,550 [ 5897] WARN - #c.i.s.ComponentManagerImpl - `preload=TRUE` must be used only for core services (service=com.jetbrains.rider.web.RiderLspServerInvalidator, plugin=com.jetbrains.rider.razor)
2024-11-04 11:45:12,550 [ 5897] WARN - #c.i.s.ComponentManagerImpl - `preload=TRUE` must be used only for core services (service=com.jetbrains.rider.razor.services.formatting.RiderHtmlCodeStyleSettingsSynchronizer$Manager, plugin=com.jetbrains.rider.razor)
2024-11-04 11:45:12,601 [ 5948] WARN - #c.i.o.f.i.FileEditorManagerImpl - no files to reopen
2024-11-04 11:45:13,298 [ 6645] WARN - #c.i.j.ExternalResourceManagerExImpl - Cannot find standard resource. filename:/schemas/filelayout/FileLayoutSchema.xsd class=class com.intellij.javaee.ResourceRegistrarImpl, classLoader:null
2024-11-04 11:45:13,298 [ 6645] WARN - #c.i.j.ExternalResourceManagerExImpl - Cannot find standard resource. filename:/schemas/filelayout/FileLayoutSchema.xsd class=class com.intellij.javaee.ResourceRegistrarImpl, classLoader:null
2024-11-04 11:45:13,486 [ 6833] WARN - #c.i.j.ExternalResourceManagerExImpl - Cannot find standard resource. filename:/schemas/filelayout/FileLayoutSchema.xsd class=class com.intellij.javaee.ResourceRegistrarImpl, classLoader:null
2024-11-04 11:45:13,936 [ 7283] WARN - #o.j.p.t.TextMateService - Cannot find referenced file `./syntaxes/asp-vb-net.tmLanguage.json` in bundle `/home/dcrump/.local/share/JetBrains/Toolbox/apps/rider/plugins/textmate/lib/bundles/vb`
Donniecrump,
Regrettably, I was not able to reproduce this issue in a testing environment.
Could you reproduce this issue again (try to run the project in Rider) and send us your Rider logs via the Upload Service? Please leave a comment with Upload ID in this thread.