Using dotnet-script with C# Interactive

I'm trying out Rider on Linux at the moment and I'm really liking it so far. I'm trying to get the C# Interactive window to work properly. I'm using dotnet core, and do not have mono installed. Dotnet core has dotnet-script support with will run script files or produce an interactive window. I set the path to the file, but when I run it, I get the error Cannot read keys when either application does not have a console or when console input has been redirected. Try Console.Read.

Is there a way to get this to work with rider? I can run it from a regular terminal window, even within Rider, it just doesn't seem to work in the C# interactive window.

Please sign in to leave a comment.