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
22
votes
2 answers

How to git stage changes in JetBrains IDE or similar functionality

How to add files to git stage in JetBrains Rider? Is this feature implemented? If it's not implemented then in which window can I look through the staged files which I've staged using some external tool? [UPD]: The use case is to hold separately…
Tsagana Nokhaeva
  • 630
  • 1
  • 6
  • 25
22
votes
1 answer

How do I enforce LF line endings in Jetbrains Rider 2018.1

I'm frequently running into line ending issues with my JetBrains Rider 2018.1 installation under Windows 10. The IDE turns existing LF files into CRLF files once I edit them. I haven't yet found a way to configure it the way I want. I would like to…
Robert
  • 1,710
  • 2
  • 18
  • 35
21
votes
2 answers

Creating class dependency diagram in Rider IDE

Does that feature exist there? How is it able to be used? Rider official docs was useless for me within that issue.
anatol
  • 1,680
  • 2
  • 24
  • 47
20
votes
3 answers

JetBrains Rider - configure appsettings overrides

I am trying JetBrains Rider for my existing .NET Core project. In the project I have several appsettings.json overrides: appsettings.Development.json - for development appsettings.Test.json - for testing appsettings.Staging.json - for staging…
lss
  • 1,235
  • 3
  • 15
  • 24
19
votes
2 answers

Project Rider - Break on Exception

I can't find the option in JetBrains Project Rider to "Break on Exception". Where I would normally add an exception breakpoint in IntelliJ, I see this:
csauve
  • 5,904
  • 9
  • 40
  • 50
18
votes
4 answers

The Specified SDK "Microsoft.NET.Sdk" was not Found

So I'm using Rider without Visual Studio installed and its working fine for .NET but for .NET Core I'm getting the error: Project 'Test2' load failed: Das angegebene SDK "Microsoft.NET.Sdk" wurde nicht gefunden. → (the specified SDK…
AlphaAxmet
  • 183
  • 1
  • 1
  • 5
17
votes
1 answer

Rider: Debug remote applications running in a docker container on WSL2 via SSH

There is Rider's documentation on how to debug remote applications via SSH, and it perfectly works when I debug applications running on WSL2. But it doesn't work on debugging an application running in a docker container inside WSL2. Rider even shows…
hcp
  • 3,268
  • 6
  • 26
  • 41
17
votes
4 answers

How to run a project in Jetbrain's Rider IDE?

I've started to learn c# recently and I really like the Jetbrains IDEs, so I decided to pick up Rider in it's early developement phase. Since it's a brand new environment I could barely find any information about it at all. My problem is I simply…
Mate
  • 303
  • 1
  • 3
  • 15
16
votes
8 answers

Rider cannot detect .NET core installation on Ubuntu

As instructed by the Rider IDE, I installed the .NET Core framework from Microsoft. I know that the installation was successful since I am able to run the dotnet command from my terminal. However, after restarting Rider, I still get the following…
Mutating Algorithm
  • 2,604
  • 2
  • 29
  • 66
16
votes
2 answers

JetBrains Rider run with watch

When I press run button in Rider (net core) it run the following command: /usr/local/share/dotnet/dotnet /pathtomyproject/myproject.dll But I need to run the project with the argument "watch", if I write this command in Rider Edit Configurations's…
Yuri Morales
  • 2,351
  • 4
  • 25
  • 52
16
votes
6 answers

How to specify a base url or host port for Jetbrains Rider asp.net project

I have a C# Asp.net web project made in Visual Studio. The project runs on a certain port (57243) and I made other programs that were testing the web service etc to use "localhost:57243". Recently I tried running the project in Jetbrains' Rider IDE…
Wietlol
  • 1,001
  • 1
  • 10
  • 25
15
votes
2 answers

JetBrains Rider to stop opening diff tab on navigation

I am a huge fan of JetBrains Rider it is really adaptable to the tastes of most devs. I could not find settings to remove an annoyance from a specific navigation function. Navigating on the tree view of the git changes opens up a new tab to show the…
The Fabio
  • 5,369
  • 1
  • 25
  • 55
14
votes
3 answers

How do I disable the variable type hint for a 'var' declared variable in Rider?

In Jetbrains Rider the type of a 'var' declared variable is shown as hint by default. I don't want that. How can I get rid of it?
bas
  • 13,550
  • 20
  • 69
  • 146
14
votes
2 answers

Using .gitignore with Rider IDE

How can I add .gitignore to my solution in Rider? When I right click on my solution under New, I cannot see anything related to adding .gitignore file. Any help would be appreciated.
Rathma
  • 1,196
  • 2
  • 33
  • 65
14
votes
1 answer

Jetbrains Rider + Visual Studio WPF

I'm about to have a project with C# again. As I love using JetBrains IDEs, I came along Rider. The main problem for me is that I need a Windows Forms or WPF Designer for the GUI. Is there any external software available for it or does anybody know a…
xetra11
  • 7,671
  • 14
  • 84
  • 159
1
2
3
70 71