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

Creating unit test project in rider adds a lot of linked files

When I create a unit test project in Rider it adds a lot of linked files to the directory: Is this normal? I have looked in both the .csproj & .sln and can't see why it is linking files from nuget package cache to project (these files are not in…
Guerrilla
  • 13,375
  • 31
  • 109
  • 210
0
votes
1 answer

Jetbains Rider remote debugging ASP.NET Core 6.0 apps through SSH kept failing

I am trying to remote debug via ssh on an ubuntu host at Ali with no success. I'm using the the latest Rider, 2022.1 EAP 10. The error is: Debugger worker was not initialized within 100,000 ms I’m running Ubuntu 20.04 64bit on Ali Cloud. And one…
brook yu
  • 13
  • 4
0
votes
1 answer

File Layout: Matching field targeted attributes on auto-properties

In newer versions of Unity you can serialize the backing fields of properties via this pattern: [field: SerializeField] public Sprite Sprite { get; private set; } Is there any way to specifically match on properties that have field targeted…
0
votes
2 answers

How to run tests of R# plugin from CLI

I want to execute the tests from this R#/Rider plugin within a GitHub Action and therefore I need to run the tests from the CLI. Simply runnning dotnet test does exactly nothing but building the project. How can I run tests of a R#/Rider plugin from…
mu88
  • 4,156
  • 1
  • 23
  • 47
0
votes
1 answer

How to use editor font in search dialog?

How can I setup JetBrains IDEA/Rider to use the editor font in the search/find dialog?
oleh
  • 820
  • 2
  • 13
  • 28
0
votes
0 answers

Unity freeze after random amount of time in debug mode

I have some problems with the Unity debugger. Sometimes, after inspecting the execution step by step without any problems, if I try to resume the program or just go to the next step, Unity freezes as if the debugger is still blocking the…
Borhink
  • 307
  • 1
  • 3
  • 15
0
votes
1 answer

JetBrains Rider remote debugger error : Unable to start debugging. The system cannot find the file specified

I just ran into problem described in header. Trying to connect to w3wp process on remote server.
Tropin Alexey
  • 606
  • 1
  • 7
  • 16
0
votes
1 answer

Can't launch dotnet-watch configuration in debug mode asp.net core 6 mac m1 Rider

On start up, it writes Cannot open assembly '/usr/local/share/dotnet/dotnet': File does not contain a valid CIL image.. I have two versions of platform installed: .net 6 and .net core 3.1. This is my launchSettings.json: { "iisSettings": { …
Aliensis
  • 85
  • 1
  • 8
0
votes
1 answer

How to configure Rider F# for ubuntu with autocomplete?

I'm trying to get Intellisense for F# on Ubuntu (20.04) using Rider IDE. Intellisense works for C# but not F#, I have tried dotnet 5 and 6 via snap and mono for 4.8.x but neither of them seem to be giving me intellisense suggestions. F# interactive…
Just_Alex
  • 518
  • 1
  • 4
  • 16
0
votes
1 answer

Change the default output location for LoggingMessage Source Generators

I've been experimenting with the Logging Source Generator introduced in .NET 6 and have been having great success, however the ability to change where they are emitted during compile time or while saving has eluded me. I'm using Rider and currently…
JGx714791
  • 51
  • 7
0
votes
0 answers

Rider/JetBrains - How to run one solution file from directory tree view?

Using Rider, I've "imported as a directory", a root folder that contains many different solutions/projects/folders. What I'd like to figure out is, how to build/run one of these solutions from the tree view. This is the structure of what I'm working…
wildcat89
  • 1,159
  • 16
  • 47
0
votes
1 answer

.editorconfig dotnet naming setting with Resharper

I am needing some help in understanding some of the behaviour related to .editorconfig file and how it behaves in relation to naming convention and inheritance. So I would like to introduce a naming styling for a certain project something akin to…
Heinrich
  • 2,144
  • 3
  • 23
  • 39
0
votes
1 answer

How to create a working app.manifest file in Rider?

IDE: Jetbrains Rider,C#, .NET 6.0, Windows 10 I need to edit the app.manifest because the application needs administrator rights to execute some netsh commands to change the windows firewall. Everytime i try to launch the program, it crashes though…
Quicksoapy
  • 21
  • 4
0
votes
1 answer

cannot access non static method "GetComponent" in static context, despite me not declaring the class as static

I am currently working on making a class accessible from other scripts. Below is what I have coded. using System.Collections; using System.Collections.Generic; using…
0
votes
1 answer

Why does Rider think my controller methods are unused?

I'm new to C# and by extension, Rider and this is quite strange to me. I have a controller with several mappings - only showing the first one, but the problem is the same for all of them. The application works fine, each of the individual endpoints…