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

how to export vscode code format settings and import in rider

in the team, my friends use vscode and I'm using rider and how to import vscode code format setting to the rider and I could not
regestea23
  • 456
  • 6
  • 19
0
votes
1 answer

Blazor linter problem when inheriting a component

i have a simple component called BaseGrid.razor and then I have another component called CustomGrid.razor @inherits BaseGrid ... @{ base.BuildRenderTree(__builder); } ... when using Rider __builder gets marked in red saying cannot resolve…
Ivan Ambla
  • 763
  • 5
  • 24
0
votes
1 answer

Git reformatting entire file upon save and adding whitespace

I'm using Rider & Git, whenever I save any C# file it reformats the entire file the diff is always the entire file. When reviewing the GitHub PR window if I click "Hide whitespace" I can see only my changes; is there a way to disable this so that it…
rACkle
  • 433
  • 1
  • 4
  • 10
0
votes
1 answer

implicit package loading in dotnet with docker

I have a .NET Project: TestApp. I can get it to run successfully using a Rider run configuration and Target framework net5.0 (on a Mac). I am trying to containerize it with Docker. In this case, the .csproj file for the TestApp does not explicitly…
adamc
  • 800
  • 6
  • 9
0
votes
1 answer

Not able to hit any breakpoints on c# dll using VS 2019 or Rider

Trying to debug C# dll with VS 2019 and Rider 2021.1.3. Everything compiles and dll is copied to the right location as well as .pdb file. But none of the breakpoints get hit on either of IDEs. On Rider got a notification: "Didn't find the associated…
Irbis77
  • 163
  • 1
  • 8
0
votes
0 answers

Rider for UE: build don't have any effect

Not sure if it's a software issue or my incredible programming skills. I'm using UE4.27 and Rider for UE 2021.2.1 for C++ project. Recently I got some strange bug or something else: some changes in the code do not affect the program in any way. For…
msBirb
  • 3
  • 2
0
votes
1 answer

How to add existing files to csproj file in JetBrains' Rider

In Rider, files in a project directory are automatically shown in its Explorer window unless you ask to Exclude them. But they aren't automatically added to the csproj file. When I try to Add Existing File, if it's already in the project…
uncaged
  • 597
  • 1
  • 5
  • 17
0
votes
0 answers

Jetbrains Rider - Remote build xamarin ios library

I'm having trouble to build and deploy my Xamarin iOS project. If I'm using nuget dependencies, everything works fine but when I use project dependencies containing xamarin ios class library I cannot build my project. Error is like: -Type or…
Starbax
  • 1,005
  • 2
  • 12
  • 32
0
votes
0 answers

No JRE found. Please make sure $RIDER_JDK, $JDK_HOME, or $JAVA_HOME point to valid JRE installation

I want to run JetBrains Rider 2021.3 by rider.sh but I get this error: No JRE found. Please make sure $RIDER_JDK, $JDK_HOME, or $JAVA_HOME point to valid JRE installation. I used this commands: sudo apt install default-jdk sudo apt install…
Amirhossein Yari
  • 2,054
  • 3
  • 26
  • 38
0
votes
1 answer

Rider redirects to online MSDN documentation -- can I get offline comments for C#?

I am working on a Unity project (idk if that's relevant), but very often whenever I try to view a quick documentation popup in JetBrains Rider with CtrlQ the popup contains only the link to the online learn.microsoft.com page without providing any…
Tooster
  • 322
  • 3
  • 14
0
votes
1 answer

Azure Function App using SQLite M1 Macbook - Unable to load shared library 'e_sqlite3' or one of its dependencies

Running MacOS Monterey version 12.1 IDE Jetbrains Rider version 2021.3.2 Using Microsoft EF Core version 6.0.1 on Macbook Pro M1. Trying to save to the database using EF Core but getting the following error message back. It's an Azure Functions App…
0
votes
1 answer

Unable to create an object of type 'ApplicationDbContext' in asp .net core 5

I made a project with 5 Class libraries in asp .net core 5. 'ApplicationDbContext' class is in the 'Data' Class library and ny models are in the 'Model' class library. when I run 'add-migration' in Package Manager Console, it works properly but when…
0
votes
1 answer

"Pending changes" filter in rider

I often use "pending changes filter" in Visual Studio to filter changed files in solution explorer, which is helpfull in large solutions. https://www.visualstudiotips.co.uk/tip/pending-changes-filter/ Now i use rider instead VS. Does such thing…
Lapenkov Vladimir
  • 3,066
  • 5
  • 26
  • 37
0
votes
1 answer

"Restore failed" for Rider's Template Project

I have a problem with my brand new instance of JetBrains Rider. After downloading it and creating the template project "ASP .NET Web Application" I get the following error message when trying to download NuGet packages: Restore failed Restore…
Stefan S.
  • 3,950
  • 5
  • 25
  • 77
0
votes
1 answer

Removing three highlighted dots in Rider JetBrains

I'm using the latest version of Rider by JetBrains for my C# projects. I like very much the color scheme of IntelliJ Idea and their shortcuts but my C# code in Rider gets highlighted by 3 dots when the IDE finds a quickfix. I want to change 3 dots…