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
4
votes
0 answers

Rider shows a warning that a variable can be null even if an attribute is present that it is not null

I created a regular TryGet method, but added the NotNullWhen(true) attribute to its out parameter, which means that the variable cannot be null if the method returns true. When using the method further, Rider writes a warning that the variable can…
Nikita
  • 41
  • 1
4
votes
4 answers

Can't connect to SQL Server from Jetbrains Rider after updating driver to 10.2

I'm using the same credentials as before update. It writes: [08S01] The driver could not establish a secure connection to SQL Server by using Secure Sockets Layer (SSL) encryption. Error: "PKIX path building…
Intolighter
  • 150
  • 3
  • 15
4
votes
2 answers

Ubuntu 22.04 + Jetbrains Rider cannot run integration tests

Hello i'm a new user of ubuntu (installed version 22.04) and i have problems with it from the start... Currently i am struggling with running integration tests with Jetbrains Rider (I run the application without any problems and connect to this…
Szpur
  • 109
  • 1
  • 7
4
votes
1 answer

How to set a file as an Embedded Resource in Rider IntelliJ?

I would like to set some of my files as Embedded Resources. There are tutorials on the easy task like that, only for Visual Studio, but not for Rider. Here is a question about Rider with no…
Arekadiusz
  • 419
  • 4
  • 11
4
votes
0 answers

How to select framework version other than .net6.0 in Rider

In Rider I'm trying to create net5.0 console application. But, the dropdown for selection .net version is disabled. I don't understand why, because I can select .net framework version, for example: And my sdk is fine, if I create a new folder and…
4
votes
3 answers

Rider doesn't debug with .NET 6

I get the following error: One or more errors occurred. (One or more errors occurred. (CLR load callback is already in error state. A debug component is not installed. (0x80131C3C). The error code is CORDBG_E_DEBUG_COMPONENT_MISSING, or0x80131C3C.))
Aliensis
  • 85
  • 1
  • 8
4
votes
1 answer

Unity + Rider - Running tests error: "The assembly for this test is not found"

I get the error The assembly for this test is not found in Rider, when running Unity tests from Rider.
Ambroise Rabier
  • 3,636
  • 3
  • 27
  • 38
4
votes
0 answers

C# linting issues with Rider and dotnet-format

currently I'm working on a nx monorepo with Angular and dotnet projects. As IDE I'm using Jetbrains Rider. For linting in the dotnet projects I use dotnet-format which comes with the @nx-dotnet/core plugin of nx. As I'm fine with the default C# code…
Stimmler
  • 322
  • 4
  • 15
4
votes
0 answers

Where is output console in Rider?

Rider 2021 windows 10 C# Where is output console in Rider? Program error, but no log
copy
  • 41
  • 2
4
votes
1 answer

Does Jetbrains Rider have Function like View disassembly code in the Visual Studio debugger

Visual studio 2019 supports a Function named 'View disassembly code in the Visual Studio debugger'. But I want to use 'View disassembly code in debugger' in Rider, not in visual studio 2019. Can I do this? I could find 'IL View', but that's not what…
miniar
  • 127
  • 1
  • 8
4
votes
2 answers

Rider "No Unity editor connection" Linux

I've just installed Unity 2019.4.20f1 and Rider 2020.3.2, and created a new unity project. I set the external editor to the rider executable (in /usr/bin/rider in my case) I opened the sln in rider and it installed the rider plugin. Now with both…
TheChubbyPanda
  • 1,721
  • 2
  • 16
  • 37
4
votes
0 answers

JetBrains Rider IDE fails to debug C# .NET Core unit tests with "CLR load callback is already in error state" error

I'm running JetBrains Rider 2020.3.2 and am attempting to debug into some .NET Core Xunit C# unit tests. Specifically, I have the following .NET versions installed: Interestingly, when running the unit tests (without debugging), they run correctly.…
aBlaze
  • 2,436
  • 2
  • 31
  • 63
4
votes
0 answers

How to run blazor wasm in jetbrains rider

I am using latest MacOS and latest version of Rider. Seeking advise on how to set up build configuration for a hosted blazor wasm project. Created with this command: dotnet new blazorwasm --hosted -o blazorhosted I cd into blazorhosted/server and…
Martin Andersen
  • 2,460
  • 2
  • 38
  • 66
4
votes
1 answer

Rider can't resolve nameof(OtherClass.Method)

Steps to reproduce: Create a new .NET Core Web API project Head over to the generated WeatherForecastController, update the class to [ApiController] [Route("[controller]")] public class WeatherForecastController : ControllerBase { …
Question3r
  • 2,166
  • 19
  • 100
  • 200
4
votes
1 answer

Blazor App CS0103 error when build on Jetbrains Rider when no no error when using VisualStudio

Having some free time I decided to start with C#, .NET, and Blazor pages. Started with default Blazor page template (to examine how it works) and found that when trying to build it on Jetbrains Rider 2020.01 it raise an App.razor(3, 32): [CS0103]…