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

Use live template with ideavim

I'm trying to use rider with ideavim, and there's a bit annoying for working with live template. If I use "if" template, it goes to insert mode and couldn't overwrite the default value. Here's the example. It's annoying that need to remove the…
rino
  • 1
  • 2
0
votes
0 answers

How can rider move method to region?

I have multi regions in one class. Maybe like #regionA, #regionB... If I use auto generate method, the method will be in buttom of the class and out of any region. Is there a way to move the method to the certain region in that class? Thanks for…
rino
  • 1
  • 2
0
votes
1 answer

Unable to resolve service for type [MoneyTracker.Models.solutionDb]' while attempting to activate 'MoneyTracker.Data.ApplicationDbContext'.)

I am getting the error when trying to run my application. Using .NET Core on Rider for Mac. Program.cs using System.Configuration; using Microsoft.AspNetCore.Identity; using Microsoft.EntityFrameworkCore; using MoneyTracker.Data; var builder =…
Drizzmo
  • 1
  • 1
0
votes
2 answers

Suppress warning on Rider when attribute is being used - C#

I have a private field in a class that is not assigned anywhere explicitly, its value is actually set using reflections and an attribute that goes on the field. Now, Rider, the IDE I use, warns that the field is never assigned. This warning is what…
0
votes
1 answer

Razor Not Hot Reloading After .Net Core 6 Upgrade

I'm using Rider. After updating our .net Core project to 6, the razor hot reloading stopped working. When I make a change to my razor file, if I'm running the Rider build configuration, I get this "sources are modified" message. If I click…
Matt_Bro
  • 14,062
  • 2
  • 28
  • 41
0
votes
1 answer

How to put "#nullable" after using (import) block after code reformat

How to say to Rider (Resharper) put #nullable after using (import) block after code reformat? My example: Preconditions: JetBrains Rider 2022.1.2. I expect the same results with Resharper because Rider and Resharper use the same settings. File…
0
votes
1 answer

Install nuget package jetbrains rider

I would like to install a package i downloaded called swatch.AutofacConfiguration.1.3.0.nupkg I have it stored locally. I just dont know how to install it. I have tried using commands like nuget install nuget add -Source some/directory my.nupkg I…
swatch360
  • 160
  • 2
  • 15
0
votes
0 answers

Rider Debugger doesn't work on .NET Framework 4.8 in Windows 10

I am trying to debug with Rider a software created in C# that requires administrator privileges to start. Pressing the debug button runs the build, which succeeds, but Rider does not try to attach to the process. Here is a brief summary of what I…
Peyang
  • 77
  • 8
0
votes
1 answer

Rider: enable file-scoped namespaces

I'm struggling to get File-scoped namespaces enabled in Rider. As a result I get a Namespace body block expected error in Rider when having something like: namespace SomeProject.Interfaces; (error 'Namespace body block expected' here) public…
Kavo
  • 543
  • 1
  • 6
  • 16
0
votes
2 answers

Jetbrains Rider IDE stopped reading PRs from GitHub Enterprise

Today when using Jetbrains Rider IDE and selecting the "Pull Requests" tab, instead of the normal list of PRs I got the message: Could not determine GitHub Enterprise server version. I've tried: removing and re-adding the connection to our GitHub…
Mark Meuer
  • 7,200
  • 6
  • 43
  • 64
0
votes
1 answer

API Calls Bypassing Proxy

I'm trying to debug an api call I'm making to a Local API and I have setup a proxy (mitmproxy) to capture the requests, I have also set the proxy settings in Postman, my IDE and Fedora Network Settings and imported the required CA certificate from…
Fearthainn
  • 111
  • 1
  • 6
0
votes
1 answer

Blazor WASM Debugging in IDE when using url in host file pointing to localhost not working

I am running my blazor app on localhost, I can browse to it via a url in my hosts file which is set to redirect to localhost. When browsing to the app directly through the localhost url I can successfully debug from my IDE (Rider). However if I…
Dreagen
  • 1,733
  • 16
  • 21
0
votes
1 answer

How to set default theme in material theme UI jetbrains rider

I want to have GitHub light theme as default. When I close and start IDE, instead of previously used GitHub theme plugin activate IntelliJ Light theme.
Aliensis
  • 85
  • 1
  • 8
0
votes
1 answer

no subscription in current account azure - rider

I have a subscription of azure and I have created an app service. When I try to connect azure account in Rider(IDE) I'm getting the error "no subscription in current account". I tried to connect with vs code, getting same error. But everything is…
IdleMan
  • 37
  • 5
0
votes
2 answers

Break when exception is thrown except for when thrown in specific place in Rider

In Visual Studio there is a possibility to mute an exception when it happens in particular place, e.g. We are aware that there is some NullRefereneceException in Calculator.cs and we still want to catch those types of exceptions when thrown from all…
Korfu
  • 673
  • 5
  • 20