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

Winforms application on Rider gives the error: 'Could not load file or assembly 'EnvDTE, Version=8.0.0.0, Culture=neutral...'

I am trying to switch to the Rider IDE. I normally work on WinForms applications on Visual Studio. Now, I cannot load my old applications on Rider and I get an error. Is there a way to fix this? The Error Message…
0
votes
1 answer

will mono let me work on existing code in linux?

I primarily use linux for development. I have inherited an old .net mvc project. I'd like to not have to use a windows vm to run visual studio. Is it possible to run Rider with mono to work on the existing .NET code on my linux box? If not, is…
Yeshua
  • 9
  • 6
0
votes
2 answers

Debug Output window shows "Starting Thread" and "Stopping Thread" over and over

I converted our application from C# on Windows to .Net Core running on Linux with Ryder IDE framework. Our app uses several third-party frameworks such as ServiceStack, RabbitMq and Mailkit libraries. When I open the Debug Output window I see that…
mbalsam
  • 611
  • 1
  • 6
  • 16
0
votes
1 answer

How can I stop Rider from showing the .sln file or .csproj files when I select the solution or project in Rider's Explorer?

In Rider, when I select the solution or a project in its Explorer view, it automatically opens the .sln or .csproj file in the editor. While I sometimes want to look or edit .csproj files, that's the exception rather than the norm. Can I disable…
E-Riz
  • 31,431
  • 9
  • 97
  • 134
0
votes
1 answer

Rider IDE - Razor Pages HTML Highlighting?

Does Rider really not provide HTML-Highlighting in Razor Pages like in the image bellow? Or where I need to configure it? Couldn't find an answer.
Sven M.
  • 587
  • 7
  • 23
0
votes
1 answer

Disable (JetBrains) code inspections for an entire project

I'd like to disable code inspections for certain projects (like tests or quick-n-dirty proof-of-concept ones). The section Suppressing code inspections in specific scope goes only up to the file level by suggesting this: Inspection [name of…
t3chb0t
  • 16,340
  • 13
  • 78
  • 118
0
votes
0 answers

How to highlight Go language syntax in Rider IDE

I have a C# project in RIDER I need to work with some GO code within my C# project in RIDER The GO code is not running - just there because we need to show it in the UI when the program will run. How can I make RIDER highlight the GO language syntax…
Guy
  • 96
  • 7
0
votes
2 answers

Get csproj path macros in file watcher in Rider

Is there a way to get a path to .csproj file in file watcher? I want to create a watcher that will launch third-party app with this argument. There is plenty of different macros (like solutionPath etc) but I didn't find what I need.
Crabar
  • 1,829
  • 1
  • 14
  • 26
0
votes
0 answers

Jetbrains Rider with Mono and C# 7.0 Features

I started using Mono 5.2 with Jetbrains Rider and i got the following error in some peaces of my code: So, looking at my Compiler settings i just have MSBUILD 14.0, i if i'm not wrong i need MSBUILD 15.0 to C# 7.0 works, right ? How can i fix it…
Ronaldo Lanhellas
  • 2,975
  • 5
  • 46
  • 92
0
votes
0 answers

Why can't my integration tests in Rider recognize App.Config file?

I have a C# project that I'm working on in Rider. Within this project I have an Integration Test project. When I go to run my integration tests, they fail because they call code that depends on information in the App.config file. I have made a…
0
votes
1 answer

Introduce Constant in C# not working in Rider 18.3

I am trying to extract a variable as constant but the rider is not responding to the command: class Clazz { public void Method() { return OtherMethod("SomeString"); } } I am selecting "SomeString" and pressing ctrl+alt+C but nothing it…
P-Srt
  • 31
  • 6
0
votes
1 answer

How to setup XUnit testing in Jetbrains Rider for ASP.NET CORE 2?

I have a problem with testing in Rider using XUnit. Basically, I have a solution with two project - one is the rest-api-app, the second is rest-api-app-test. Both are the exact .net core versions, are in the same solution, but I have no idea where…
Lucas
  • 329
  • 1
  • 13
0
votes
1 answer

How to customize C# .NET Framework Manifest without Visual Studio

I primarily use JetBrains Rider, which appears to lack the option to add a manifest (though my installation of Visual Studio mysteriously lacks "Application Manifest" under the "Add Item" menu anyhow). So, I created app.manifest and filled it with…
M-Pixel
  • 3,501
  • 2
  • 16
  • 27
0
votes
1 answer

Intellij Rider Entity Framework does not work on the console throwing error

Using Rider I try to do any kind of migration. I tried using console because Rider does not detect the context of the model.
BillIT
  • 53
  • 1
  • 14
0
votes
1 answer

Selected item in Rider code completion window, not seen

In Jetbrain's Rider IDE, selected item in code completion windows not seen because of font color is same as highlight color
SnowStorm
  • 335
  • 1
  • 5
  • 18