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
0
votes
1 answer

Create project in Rider for Net5.0 create environment for Net6.0

I am trying to create environment for C# in Net5.0 with this settings: But after click create it create environment for Net6.0 and I can't build my project. Why it happen? and how can I fix it?
Silny ToJa
  • 1,815
  • 1
  • 6
  • 20
0
votes
2 answers

Rider: suspend execution once field changed

I'm debugging a massive legacy code containing huge file size, bad encapsulation, mixing inheritance, etc. For example, there is class with _age field: public class User { private int _age; //... } There are many execution paths that…
Adam Shakhabov
  • 1,194
  • 2
  • 14
  • 35
0
votes
1 answer

Unity scripts using Rider, code highlighting doesn't work

Recently I started using Rider for Scripting in Unity. It's fine but when I switch to some script (very small weight), it doesn't show any code highlighting (except blue): The same code in other script which can work: For work reasons it is not…
0
votes
2 answers

How to fix random IOException: Sharing violation during import, build or compile?

From time to time, when I try to import, build or just compile, randomly Unity says that an: IOException Sharing violation I did a small research, but all the answers point to that error, when executing the code, not just build, and I say that is…
0
votes
1 answer

Where can I find list of Rider IDE commands to use in _ideavimrc file?

Wanted to create a _ideavimrc file but I cannot find the commands that Rider uses. Such list exists in VisualStudio under Tools | Options | Environment | Keyboard . Example command being: Build.BuildSolution. Then I could use it in my _vsvimrc file…
gringo_dave
  • 1,372
  • 17
  • 24
0
votes
1 answer

How to change the color of this line in Rider?

I haven't been able to find any tutorial on how to change the color of this line, can you tell me how this can be done? Screen
Dirol
  • 1
  • 1
0
votes
1 answer

How to support multiple app configs in Rider

So I'm building a .net app in rider. .Net has the concept of a "config file"... the app.config file and then within that it supports "sub configs" that can override and add parameters. Now the questions is how do run my application with one of…
Michael Wiles
  • 20,902
  • 18
  • 71
  • 101
0
votes
0 answers

Access denied when trying to create new X509Store, using Rider on a Mac

I am trying to execute the following code X509Store someStore = new X509Store(StoreName.Root); Getting this error {System.Security.Cryptography.X509Certificates.X509Store} Certificates:…
0
votes
1 answer

How to change SDK version asp netcore in Rider IDE?

How can I change the sdk version from 6 to 5 when creating an asp.netcore The option appears disabled i have netcore 3.1, sdk 5 and sdk6 installed I appreciate your help
SuperError
  • 43
  • 4
0
votes
1 answer

(FR/EN) Use HttpResponseException and Request.CreateResponse in ControllerBase

I need help for my project which consists of creating an e-commerce website. I am currently working on orders and when I do my controller (OrdersController) I cannot use "HttpResponseException" nor "Request.CreateResponse". How can I do to be able…
Dateka
  • 1
  • 1
0
votes
1 answer

Trouble getting started with AWS Lambda locally

I'm trying to get a simple dotnet lambda up and running using the Rider AWS toolkit - starting with the SAM HelloWorld sample project, but in creating, I run into this error java.util.concurrent.CompletionException: java.lang.RuntimeException: Could…
0
votes
0 answers

Logs are not displayed while running the ASP.NET Core 2.1 application with Rider

Using Rider to run the ASP.NET Core application, the logs are not displayed while running the application. I have below launch.setting file: { "iisSettings": { "windowsAuthentication": false, "anonymousAuthentication": true, …
San Jaisy
  • 15,327
  • 34
  • 171
  • 290
0
votes
1 answer

How to modify the "Double Selected" code's background color in JetBrains Rider?

As following img, I double clicked "test1" in var test1 = decimal.MaxValue; The variable that is referenced elsewhere is shown in dark blue, I want to modify this blue color in Color Scheme?
AdvancingEnemy
  • 382
  • 3
  • 20
0
votes
1 answer

How to configure a custom cert and key for a .NET Core application for Rider or Visual Studio solution?

Visual Studio 2019 and Jetbrains Rider .NET Core (and possibly other) projects register a "localhost" root certificate on the system, and then when launching and debugging .NET Core applications, they run the web service using certs and keys that…
Michael Prescott
  • 764
  • 1
  • 6
  • 14
0
votes
1 answer

How to force Rider to use Chrome for debugging?

No matter what I do, I cannot get Rider to use Chrome for debugging. I've removed all other browsers listed and even set a "Custom path" to Chrome. I also have the required plugins installed and enabled; still, it starts up with: Opening using…
ChiefTwoPencils
  • 13,548
  • 8
  • 49
  • 75