C# Interactive does not seem to work
Hi,
I have issues trying to get C# Interactive Running. I have a simple scratch file, and when trying to send the contents to the C# interactive shell, nothing happens.
When running a new C# Interactive shell:
A window pops up with the following contents:
E.g. “nothing to show”. What is going wrong (or what am I doing wrong)?
Anyone also encountered this issue?
Please sign in to leave a comment.
Hello!
Which version of Rider do you use? Could you please share a full bundle of Rider logs using the JetBrains Upload service?
Thank you in advance!
Hi Ivan Skorikov
Thanks for your quick reply. Here is the version info:
JetBrains Rider 2023.3.3
Build #RD-233.14015.60, built on January 18, 2024
Licensed to X
Subscription is active until X.
Runtime version: 17.0.9+7-b1087.11 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Linux 5.15.0-100-generic
.NET Core v7.0.10 x64 (Server GC)
GC: G1 Young Generation, G1 Old Generation
Memory: 3978M
Cores: 16
Registry:
editor.config.csharp.support=true
ide.experimental.ui=true
Non-Bundled Plugins:
com.vermouthx.idea (1.15.2)
com.intellij.lang.liquid (233.11799.172)
com.intellij.plugin.adernov.powershell (2.3.1)
tanvd.grazi (233.13135.14)
PythonCore (233.14015.106)
Current Desktop: ubuntu:GNOME
I've uploaded the logs to Upload id: 2024_03_18_QKP1JX4qVc2taJbaobmWR1 (file: rider-logs-20240318-152818441169454324147758.zip)
Thanks in advance.
Hello,
Thank you for attaching the info. Could you please check what value is set in the Settings | Languages & Frameworks | C# interactive | C# Interactive tool field? My guess is that it's empty, because usually if you're using Rider on Linux, you need to install Mono (mono-devel package), since Mono provides the only C# interactive engine for Unix-based systems.
Ivan Skorikov yes, it seems installing the mono-devel dependency fixed the issue. It works now :) Thanks!