Questions tagged [rider]

Rider is a cross-platform (Windows, Linux & macOS) IDE created by JetBrains for the .NET/Mono family of languages such as C#. Use this tag if your questions are specific to using Rider or are specific to Rider's behavior. Rider troubleshooting and bugs are off-topic.

Rider provides 2,000+ live code inspections, 500+ refactorings, multiple code navigation helpers, a unit test runner, an integrated debugger, rich coding assistance, and dozens of other features that help you read, write, and navigate large .NET codebases. Most of these features are also found in ReSharper, a popular Visual Studio plugin by JetBrains.

Rider supports most of the languages used in .NET development, from C#, VB.NET, and F# to ASP.NET Razor syntax, JavaScript, TypeScript, XAML, HTML, CSS, SCSS, JSON, and SQL.

Useful links

1062 questions
3
votes
0 answers

How to use `` when one of the parameters have the `in` keyword?

I have the following function: public int Get(ref X a, ref Y b, int c, in Z d = default) { ... } and an overload which I'm trying to use from: /// /// ... /// ///…
Bilal Akil
  • 4,716
  • 5
  • 32
  • 52
3
votes
1 answer

WebStorm / Rider - Cannot Debug Jest Tests - Unrecognized CLI Parameter: Unrecognized option "testTimeout"

I'm working on a Vue.js 2.x project with Jest tests and, although I can run them fine, I can't debug them at all in Rider / WebStorm as I get the following error (paths abbreviated...) /home/me/.nvm/versions/node/v14.21.2/bin/node --require…
Keith Jackson
  • 3,078
  • 4
  • 38
  • 66
3
votes
2 answers

NUnit - Unit testing two separate tests in parallel

I understand NUnit runs tests in parallel, which isn't what this question is about exactly. In a single test, I can have two local socket connections open using TcpClient on different ports, which can communicate with one another in the same unit…
user4779
  • 645
  • 5
  • 14
3
votes
2 answers

C# Rider - Aug 2022 - How to make that Debug and Hot-reload work properly?

Is it my idea or Rider doesn't have implemented the Blazor / Hot Reload well? I'm trying for more than 6 months Rider IDE from JetBrains, and I started to prefer against VS2022. But I recently started a new project with Blazor, and since then my…
MiBol
  • 1,985
  • 10
  • 37
  • 64
3
votes
1 answer

Jetbrains Rider SCSS load-path

I've started using JetBrains Rider as my primary IDE - and I love it so far. While using Visual Studio, I used Web Compiler to compile SCSS files to CSS. Worked great. However - I'm strugling with getting Rider to compile SCSS files correct. I've…
InversionDK
  • 125
  • 7
3
votes
0 answers

Can't create two projects using .NET Framework and .NET Core in Rider for MacOS?

I'm pulling my hair here. I can't seem to run two projects under the same solution where one uses .NET Core 6 and the other uses .NET Framework 4.7.2 I have set the MSBuild to Auto detect and this allows the .NET Framework project to run, but for…
user7496931
  • 1,347
  • 3
  • 15
  • 32
3
votes
0 answers

Error Domain=NSOSStatusErrorDomain Code=-10817 "(null)"

I'm building a Xamarin app with JetBrains Rider. When I start typing an Entry-field or a SearchBar (in the iOS-simulator), the console gives me a huge amount of the same errors. It's so much that it is hard debugging my code. It only happens while…
3
votes
1 answer

I can't run C# console application ( version `GLIBC_2.32' not found)

I am on Ubuntu 21.04 and running a C# console application in Jetbrains Rider. And it says: /home/Door/RiderProjects/ConsoleApp1/ConsoleApp1/bin/Debug/net6.0/ConsoleApp1: /snap/core18/current/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not…
sumi
  • 31
  • 1
  • 5
3
votes
1 answer

Display search count in IdeaVim

Below is the UI of Rider search with Cmd + F. But I'm using the IdeaVim plugin, I want a similar UI to count the current match when I perform a search with / or ? but can't find the config to display it.
Finn
  • 2,707
  • 2
  • 19
  • 28
3
votes
0 answers

Jetbrains IntelliJ / Rider HttpClient generate POST request body

Is there a way to generate Post Json object from EndPoint window ? There is OpenApi 3.0 specs for this aspnetcore web app Currently having to import OpenApi file into Postman, which generates Post Json object automatically
Lydon Ch
  • 8,637
  • 20
  • 79
  • 132
3
votes
0 answers

Rider - .editorconfig: File scoped namespaces not respected

I'm using Rider 2021.3.3 (latest version), and when I have the latest .NET SDK on my machine (.NET 6). Inside the .editorconfig file, I have added the following: csharp_namespace_body = file_scoped When I create a new project, it contains a file…
Complexity
  • 5,682
  • 6
  • 41
  • 84
3
votes
0 answers

Rider debug visualizer for datatable like in visual studio as a table

I looked and looked and could not find an answer to this. With Rider, when debugging, how can you display a datatable as a table like in Visual Studio? Like in VS when you hover over a datatable, it displays it as a table with all columns and…
3
votes
0 answers

Rider - Unity - Break on unhandled exception

How can I setup Rider so that its debugger breaks/stops whenever there is an unhandled exception? In particular, I set up assertions all over my code, I attach the Rider debugger and I hit play on Unity. I can see on the console that many of the…
Michele Piccolini
  • 2,634
  • 16
  • 29
3
votes
1 answer

Rider selects wrong .net version

I'm checking out rider, but so far I struggle with that it actually selects the wrong .net sdk. I have those installed according to dotnet --list-sdks: 5.0.202 [C:\Program Files\dotnet\sdk] 5.0.301 [C:\Program…
NPadrutt
  • 3,619
  • 5
  • 24
  • 60
3
votes
1 answer

How to configure indentation for lambdas in invocations in Rider?

I want to configure the code style settings of JetBrains Rider. I want to format a function as this: protected override JobHandle OnUpdate(JobHandle inputDeps) { Entities.ForEach((ref PaddleMovementData moveData, in PaddleInputData inputData) =>…
Fifnmar
  • 372
  • 1
  • 5
  • 9