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

Message template should be compile time constant

I have this code [HttpGet("average/{videoGuid}")] public async Task AverageRatingOfVideo([FromRoute] string videoGuid) { _logger.LogInformation($"Finding average rating of video : {videoGuid}"); var avg = await…
Ali Faris
  • 17,754
  • 10
  • 45
  • 70
58
votes
3 answers

IntelliJ IDE (Rider, Android Studio...) - how to hide "usage" links above properties/methods/etc

IntelliJ Rider IDE version 2022.1: Above class properties or methods I have this link called "usages". How do I turn the "usages"-link off? They are driving me crazy. I don't know what these things are called, so googling didn't give me any results.…
Lars
  • 1,699
  • 2
  • 22
  • 32
48
votes
3 answers

Resharper Clean-up Code - how to affect sorting of methods?

I've got a customized clean-up and it's almost 'there'. However, R# appears to want to sort the member methods, but at least it does not appear to be alphabetically. Is there a way to force that sorting?
Anders Juul
  • 2,407
  • 3
  • 34
  • 56
45
votes
11 answers

SDK Resolver Failure - Net 7 - Net 6

Just downloaded and installed SDK Net 7.0.100 and it broke existing applications and they won't load any more in VS 2022 or Rider. Copied the follwing error: error : SDK Resolver Failure: "The SDK resolver "Microsoft.DotNet.MSBuildSdkResolver"…
David
  • 583
  • 1
  • 4
  • 6
34
votes
7 answers

Where's NuGet manager console in Rider IDE?

I am new to .NET platform. From time to time, I had problems with Visual Studio and I decided to use Rider. It encouraged me again (I have been using JetBrains products for 2 years). But I can not find the NuGet console (which is so called in Visual…
TuralAsgar
  • 1,275
  • 2
  • 13
  • 26
29
votes
1 answer

Multiple Startup projects in Solution, in Rider

I'm working on a project for a upcoming job interview. I'm used to writing C# in Visual Studio, but since I've changed to Linux, I'm trying to use Rider. In Visual Studio you can add multiple projects as your 'Startup Project', and I'm not sure how…
denn4617
  • 303
  • 3
  • 5
29
votes
2 answers

Publish web project from JetBrains Rider

I am giving Rider a try, and so far, quite like it. One feature I use in Visual Studio quite often is right click on a web project and publish to our testing server. I cannot find a similar option in Rider, so what I have done is, create a run…
JonathanPeel
  • 743
  • 1
  • 7
  • 19
28
votes
12 answers

Breakpoints not being hit in JetBrains Rider?

I am trying to set a breakpoint in JetBrains Rider, but the debugger isn't breaking. I know for sure the application should reach the code I'm trying to break on, as changing string literals appears in the program. I have completely reinstalled all…
Jessica
  • 1,621
  • 2
  • 18
  • 34
28
votes
3 answers

JetBrains Rider EAP on Linux - Solution load failed: MsBuild not found

Just installed the latest version of Rider EAP (163.12057) and tried to create a new solution. In my Solution Explorer its shows my Solution and (load failed). In the Event Log window I get the error message: Solution 'FirstSolution' load failed:…
ephtron
  • 1,115
  • 1
  • 10
  • 16
27
votes
4 answers

How to change .NET Framework in Rider IDE?

In Rider IDE, I am trying to create a new solution: But I'm unable to change the .NET Framework as the dropdown is disabled. How can I change the version? I have installed .NET Framework 3.5, 4.5, 4.6.
FaizanHussainRabbani
  • 3,256
  • 3
  • 26
  • 46
26
votes
4 answers

Where is the default .NET Core SDK path in MacOS

I've recently installed the .NET Core SDK for MacOS in order to create a demo application using the new JetBrains Rider EAP. Project 'WebApi' load failed Can't initialize DotNetCore: Please select DotNet Core SDK path. To get instructions how to…
24
votes
1 answer

Using JetBrains Rider, is there a way to see elapsed time when debugging?

In Visual Studio, you get this when you step over a line while debugging: I can't seem to find an equivalent in Rider. Is there something like it?
Andrio
  • 1,852
  • 2
  • 25
  • 54
23
votes
1 answer

Visual Studio like code snippets in Rider

Does anyone know if the JetBrains Rider IDE supports kind of "code snippets"? I usually have a snippet in Visual Studio for creating NUnit test cases, like: [Test] [Description("Some description")] [MaxTime(1000)] public void Test() { #region…
Moerwald
  • 10,448
  • 9
  • 43
  • 83
22
votes
3 answers

Does Rider has the "Just My Code" debugging option?

Rider makes it easy to debug the 3rd party code. But sometimes it is just too much noise when debugging my own code. VS has the option "Just My Code" which lets us debug only our code. Does Rider has the same?
mark
  • 59,016
  • 79
  • 296
  • 580
22
votes
4 answers

Rider doesn't see NetCore 3.0

I had used VS CODE before. But now I would like to try JetBrains Rider. Currently, I have only NetCore 3.0. But before I had 2.2. I had removed old NetCore and installed new one. I am trying to create new project. But Rider don't see NetCore 3.0. I…
Aleksej_Shherbak
  • 2,757
  • 5
  • 34
  • 71
1
2 3
70 71