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

Fold class fields and constructor parameters in Rider

I'm using Rider on a .NET project that has many classes that inject a large number of services and take up a lot of real estate at the top of the file like this: public class MyCoolService: IMyCoolService { private readonly IMyInjectedService1:…
pjpscriv
  • 866
  • 11
  • 20
0
votes
1 answer

How to find derived types in a referenced assembly?

In JetBrains Rider, there is an action to find derived symbols of a symbol. I would like to use it to explore a new library. For example, when I use a new class from the library, I want to see its derived classes. Unfortunately, none of these find…
Sorashi
  • 931
  • 2
  • 9
  • 32
0
votes
1 answer

I can't debug a Xamarin.Android application

When I try to debug the application in Visual Studio, I also tried Jetbrains Rider, the application compiles successfully but when it is starting the debugging process, it fails. The debug window shows the following error message: Start debugging…
Dylan
  • 381
  • 2
  • 5
  • 18
0
votes
1 answer

Xamarin android in rider IDE problem com.android.tools.idea.layoutlib.RenderingException

when in tried to edit a layout design in activity_main.axml this error won't let me to use palette or to show how layout looks like. enter image description here this is the error when I click the…
0
votes
1 answer

Unable to create projects in Rider

Recently downloaded Rider and I'm unable to create projects. It either hangs infinitely on "Creating solution file" or gives me the following error : Unable to load project and obtain project information from MsBuild. Try to change MsBuild version…
Tabris
  • 37
  • 1
  • 5
0
votes
2 answers

How to infer type when suggesting GetComponent<>() for variable assignment?

This is what I write (a lot): Rigidbody rb = G Now I would expect ReSharper Code Completion to suggest me this: GetComponent() But it doesn't. It suggests GetComponent<>() and leaves me to fill out the type myself. What I actually want is…
jgollenz
  • 21
  • 5
0
votes
5 answers

"1 is not a supported code page" JetBrains Rider

I recently reset my Window 10 and installed Rider for Unity. It showed me error: Project 'Assembly-CSharp' load failed 1 is not a supported code page. Parameter name: codepage I searched for this error tried to change Windows 10 language and…
Mohit Kumar
  • 552
  • 9
  • 29
0
votes
1 answer

using Rider's new plugin for Specflow to build project and create .feature.cs file

when I build my project it should create test.feature.cs file near to test.feature file so I can create new steps in testSteps.cs class. But when I build my project it is not creating test.feature.cs file. any one familiar with this issue? for an…
Said Yusifli
  • 170
  • 11
0
votes
1 answer

Ctrl + backspace not working in JetBrains Rider

I want to use Ctrl+Backspace to delete a word in Jetbrains Rider, my keymap setting is visual studio keymap. But It works well in Visual Studio 2019. It has been bothering me for a long time.
nsj
  • 61
  • 6
0
votes
1 answer

JetBrains Rider not detecting mono or Unity API

I'm trying to make JetBrains Rider 2020.3 work properly on Ubuntu 20.04.2. I have installed mono and dotNet following links from this site…
Huginn
  • 1
  • 4
0
votes
1 answer

Retrieval of types from all assemblies in .net core solution in Rider/ReSharper

We were using this code in a .NET core test project to get all of our relevant (in solution) assemblies, which we can use to get all their types: List assemblies = AppDomain.CurrentDomain.GetAssemblies().Where(a =>…
NickL
  • 1,870
  • 2
  • 15
  • 35
0
votes
2 answers

In Rider, how do I use an .sln file not in the project root folder?

Our code is structured as: - Readme.md - deploy.sh - infrastructure/ -- stacker.yml -- ... - backend/ -- backend.sln -- ... - frontend/ -- package.json -- ... The default behavior when opening a solution is for its folder-view to be rooted in the…
matt
  • 125
  • 12
0
votes
0 answers

How I can enable intellisense in JB Rider for Xamarin.Forms?

I built a xamarin-android project on ubuntu (maybe broke something), then created a Xamarin.Forms project from a template. The rider cannot load any of the assemblies (including System): can't load ❯ which dotnet /usr/bin/dotnet ❯ dotnet --version…
0
votes
1 answer

Change Explorer Tab "Rename File" Keymap

In the Explorer tab in Rider my current keymap to change a file name is Shift+F6. In most other systems I use, "Rename File" is F2. I've had a look in Settings > Keymap but haven't managed to find the correct value. Am I able to change this…
pjpscriv
  • 866
  • 11
  • 20
0
votes
2 answers

Rider on M1 MacBook Air can't resolve symbols

I recently switched to a M1 Macbook Air and tried installing JetBrains Rider, but when I'm trying to run a hello world i get the errors below i am running it through rosetta 2 and can't seem to find the problem
user9205320