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

Dotnet core rider snap ubuntu msbuild

I want to migrate a small project from mono to core on Ubuntu. The problem is I cannot create a Core project using Rider. I used snap to install Rider and coresdk. Rider detects core. But when I go to create a new project it either hangs or I…
Just_Alex
  • 518
  • 1
  • 4
  • 16
0
votes
0 answers

Memory usage is much larger when running in tests (NUnit) than in normal mode (WinForms app)

When I use a ZedGraph control in NUnit/MSTest test method the memory usage is much larger (over 8GB for control instance) than in WinForms application. I use Windows 10 Pro, Rider 2021.1.3, C# 7.1, .NET Framework 4.6, AMD Ryzen 7 When use with…
0
votes
1 answer

Why does 'Find in files' shows files outside solution

My solution consists 3 projects, and only .cs files. Now, I want to search across whole solution and find every occurence of word: var. For some reason, some weird files are displayed in output window (like: http-dynamid-variables.json): I know I…
dafie
  • 951
  • 7
  • 25
0
votes
1 answer

.Net restore getting wrong absolute path

I have a project that is in a zip that was originally coded on a windows 7 OS.I have since moved to windows 10 and I am trying to continue working on the project on my Windows 10 PC. The issue is that somehow the path is still set as old path and as…
user2650277
  • 6,289
  • 17
  • 63
  • 132
0
votes
1 answer

What is the Rider equivalent of Navigate Backward and Navigate Forward commands of Visual Studio

I've been using Rider on mac and it is awesome. But there is a feature I miss a lot. The "Navigate Backward and Navigate Forward commands of Visual Studio". Could anyone please tell me its equivalent in Rider? I've googled and found this And they…
Damien Doumer
  • 1,991
  • 1
  • 18
  • 33
0
votes
1 answer

How do I turn off the linker?

The Linking on Android document describes how to turn off the linker in Visual Studio: The primary mechanism for controlling the linker is the Linker Behavior (Linking in Visual Studio) drop-down within the Project Options dialog box. How do I…
Ryan Payne
  • 5,249
  • 4
  • 28
  • 69
0
votes
0 answers

Is there a way to change naming settings in a .editorconfig, using JetBrains Rider

The Problem I am trying to create an .editorconfig file using Rider. I want to be able to change all settings in the .editorconfig later on with Rider aswell. But it does not seem to be possible to edit the naming rules, after exporting them…
mario.b
  • 165
  • 1
  • 12
0
votes
0 answers

Rider Reformat How to adjust the white line?

How to adjust the white line? When one line of code crosses the white line, it moves to the next line. Is there any way to change the white color line?
0
votes
1 answer

Attach to container in docker-compose with Rider IDE

I'm running the 2021 version of Rider and have a fairly simple docker-compose: version: "3" networks: internal: external: false volumes: test-data: services: aml: …
ScottishTapWater
  • 3,656
  • 4
  • 38
  • 81
0
votes
0 answers

Does any way to run a .net core project on IIS using Jetbrains Rider?

I can't run dotnet core project on IIS using Rider. I Couldn't find any solution to do that. Is there any way to do that?
Kadir Alan
  • 209
  • 1
  • 13
0
votes
0 answers

Trying to understand specific 'Expression is always false' warning from ReSharper

I stumbled across a specific 'is always false' warning from ReSharper (in Rider) that I first thought was incorrect, but from what I gathered from others usually if that happens ReSharper is smarter than the programmer, so I'm trying to understand…
Ardor
  • 154
  • 11
0
votes
0 answers

How can I write a test using dotMemory Unit to check for zero allocations in code?

I'm just trying to do something like this using Rider, Xunit and dotMemory Unit (but should be similar with NUnit or Visual Studio): [DotMemoryUnit(CollectAllocations = true, FailIfRunWithoutSupport = false)] [Fact] private void MemoryTest() { int…
lamont
  • 3,854
  • 1
  • 20
  • 26
0
votes
1 answer

Rider - Unable to set up IIS Express Developer Certificate

I'm getting a warning in Rider that the IIS Developer certificate is not set up for one of my projects "IIS Express developer certificate is not set up for https://localhost:44350. This may cause errors on project start." When I click the option to…
GooseZA
  • 1,015
  • 1
  • 10
  • 19
0
votes
1 answer

dotnet 5 the local source does not exist (in macOS)

I am building a .NET Core project on windows 10 with DevExtreme. I am trying to build the project on macOS big sur with Rider. When I try build my project I get this error: The local source 'C:\Program Files (x86)\DevExpress…
onrcn_
  • 107
  • 1
  • 1
  • 3
0
votes
2 answers

.Net Core WebApi target framework "net5.0" interpreted as "net50" while building app

I am creating a new web API in .Net core 5.0. However, every time I try to build it, I get the following error: Package HotChocolate.AspNetCore 11.1.0 is not compatible with net50 (.NETFramework,Version=v5.0). Package HotChocolate.AspNetCore 11.1.0…
Mahesh Nepal
  • 1,385
  • 11
  • 16