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

Problems with rider and xamarin.forms creating a solution cross platform using host linux system

I have Linux as my base system but when creating a cross platform solution in rider create the entire project, but it gives me an error with the ios solution, I understand that ios does not compile on linux and there are alternatives on windows…
ijann
  • 101
  • 1
  • 3
0
votes
1 answer

Visual Studio's brake lines in Rider

in Visual studio when i hit enter from ternary expression ?? in constructor i get lines break like this: But Rider doing breaking for ternaries like this: How to set up braking lines in Rider for ternaries like it works in Visual Studio?
michasaucer
  • 4,562
  • 9
  • 40
  • 91
0
votes
1 answer

How to specify which program to run in one solution?

I just got into c# and downloaded Rider, created a solution and stuff. I created to projects to run two programs (bc in one project can be only one main entry point), and after I launch my program it only executes first one. I can't figure it out…
0
votes
0 answers

JetBrains Rider quits debugging mode in the Main fuction

I have a problem in JetBrains Rider with .Net Console Application. It just goes out of Debugging mode. I'm using macOS Catalina 10.15.4. public static void Main(string[] args) { var num1 = new Number(20, string.Empty); var…
sjk
  • 111
  • 8
0
votes
0 answers

ASP .net form -- Rider

I'm working with Rider jetBrains ASP.net , I have problems in this form even if this is the way to do it and it work for a lot of people , it's like the .aspx is not attached to his .aspx.cs . Errors : 1 - in Inherits="Admin" : Ambiguous…
ANASS TAHIRI
  • 101
  • 7
0
votes
1 answer

Jetbrains Rider not push to remote branch

I'm using Jetbrains Rider 2019 with git repository, when I push changes in Rider environment only push occurs in local master branch not remote origin, when I push from git bash command line every thing is ok, but I want to push every thing to…
SnowStorm
  • 335
  • 1
  • 5
  • 18
0
votes
0 answers

C# GUI keeps crashing due to System.InvalidCastException, when I press the button

I'm trying to write my own GUI for a Program in C#, which translate Morsecode to text. My IDE doesn't show any errors and the GUI works so far. But when I push the button, for the translation of the text, the whole program crashes. I already…
0
votes
0 answers

Rider - How to debug the returned value of an async method in a lambda expression?

I am using JetBrains Rider latest EAP, and I am trying to stop the debugger at an async method call inside a lambda expression to investigate its returned value after the task has been completed. I can do smart step into the async method then step…
geeko
  • 2,649
  • 4
  • 32
  • 59
0
votes
1 answer

Run method in active project in Rider plugin

I am currently building a plugin for Rider and want to initiate a debugger with the selected project and call a specific method. Within C# console app, I can use reflection to get the type and method. But then how would I attach this to the Rider…
Danhol86
  • 1,352
  • 1
  • 11
  • 20
0
votes
1 answer

System.IO.FileLoadException: Could not load file or assembly 'testhost, when debugging tests

Everytime I try to debug unit tests from Rider IDE, test execution fails with an exception System.IO.FileLoadException: Could not load file or assembly 'testhost, Culture=neutral, PublicKeyToken=null'. Could not find or load a specific file.…
Basin
  • 887
  • 1
  • 14
  • 28
0
votes
1 answer

IntelliJ IDEA interactive rebase fails with "cannot spawn sh: No such file or directory"

On Windows, when I try to perform an interactive rebase, IntelliJ IDEA fails with the following error: cannot spawn sh: No such file or directory unable to start editor '"V:/tools/IntelliJ IDEA 2019.3.3/jbr/bin/java" -cp "V:/tools/IntelliJ IDEA…
Hay
  • 2,246
  • 20
  • 30
0
votes
1 answer

When I compile C# program in Rider I get a "dotnet crashed" message in Mac OS X

When I compile CSharp programm in Rider and I get an error I get "dotnet crashed" message in Mac OS X. .NET Core version is 3.1 Here is the screenshot https://dumpz.org/b7gGDdW7y6Ba - error message by Mac OS X
0
votes
2 answers

How to reference NuGet packages?

I'm a newcomer to .NET world, and at this point I'm super confused about the packages, references and how to reference them in my c# project. I have 3 project in my solution: DataAccess - which contains the logic for accessing data, the mapping…
mhaligowski
  • 2,182
  • 20
  • 26
0
votes
0 answers

Rider changes editorconfig

I'm using Rider for a .net-core project I'm working on, and I have an .editorconfig file at the root level. I've set up the preferences in Rider to look like this: For some reason Rider will change the .editorconfig file without warning or…
nickn
  • 184
  • 1
  • 13
0
votes
1 answer

JetBrains Rider Metadata for Net Core classes

In VSCode when I need to check the documentation for a System Class, say for instance the Console class, I can just go to to reference of the class and see the metadata, like this: While Rider would just go the class implementation instead. Is this…
qvn
  • 78
  • 7