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

Duplicate 'Compile' items were included

I have just added a SOAP webservice to a new Asp .net core project. When i try to build the project it results int he following error. Microsoft.NET.Sdk.DefaultItems.targets(295, 5): [NETSDK1022] Duplicate 'Compile' items were included. The .NET…
Linda Lawton - DaImTo
  • 106,405
  • 32
  • 180
  • 449
7
votes
0 answers

JetBrains Rider: How to attach to elevated permissions process running locally?

I am using JetBrains Rider on Linux to debug some .NET core services. I have launched Rider without sudo permissions since my code source tree is all under my local user, but yet the installed services are running under root permissions. Right now…
aBlaze
  • 2,436
  • 2
  • 31
  • 63
7
votes
1 answer

Some variables do not exist in the current context in Rider Debugger mode

I am trying to get the inspect the values of local variables. This feature works for some variables. For those that it doesn't, Rider brings up an error: The name `variable_name` does not exists in the current context. And image example of code…
sanjihan
  • 5,592
  • 11
  • 54
  • 119
7
votes
0 answers

Slow nuget restore/update/install in Rider while using private repository

Whenever I need to update or install a nuget package from a private repository, Rider is trying to get every already restored package in my solution from that repository. This is making this process extremely slow.
Cirate
  • 151
  • 1
  • 8
7
votes
1 answer

How to open Nuget package manager console in Rider

I am trying to enable migration for code-first approach in rider but there is no option showing for the NuGet package manager console. Can anyone help
7
votes
2 answers

Rider asks to install .NET Framework 4.7.2 Developer Pack even though it is installed

Why does Rider ask me to install .NET Framework 4.7.2 Developer Pack even though it is installed? I am working with Unity3d using Rider. Here is what Rider asks me to do: 7:41 PM .NET Framework Not Installed: Download and install .NET Framework…
Yaroslav Trofimov
  • 313
  • 2
  • 4
  • 16
7
votes
1 answer

Cannot connect to Microsoft SQL Server using IntelliJ/Rider

I'm getting the following error when I try to create a database for my project: [08S01] The TCP/IP connection to the host myhost, port 1433 has failed. Error: "Connection timed out: no further information. Verify the connection properties. Make…
mrpink121
  • 191
  • 1
  • 3
  • 13
7
votes
1 answer

JetBrains Rider targets 4.5 framework and no option to switch to 4.7

Basically, when trying to add NuGet package which is not supporting older frameworks getting the error. However in project configuration only 4.5 is available. During the project creation no option to select the target is present. Is there any way…
Ivan Temchenko
  • 814
  • 1
  • 9
  • 12
6
votes
1 answer

How to view class structure, including inherited fields, in JetBrains Rider?

Is it possible to view all the methods and fields of a class, including inherited fields? Something similar to the structure view but include all symbols. Currently, I type this. and see all the suggestions.
Efi G
  • 937
  • 8
  • 15
6
votes
1 answer

JetBrains Rider debug mode evaluator exception

I am struggling with Rider on my MacBook as I am unable to evaluate IEnumerables while debugging my code. I am currently running Rider 2021.3.1, but the issue has persisted since before Rider 2021.2. As I do not want to use ToList() all over, this…
elillesaeter
  • 148
  • 10
6
votes
5 answers

JetBrains Rider unable to detect UnitTests

I am using JetBrains Rider to run unit tests for a .net Core project. And for some reason, it is failing to recognize any of the test cases in the solution. These test cases were being detected before and now suddenly they are not. I restarted the…
Lost
  • 12,007
  • 32
  • 121
  • 193
6
votes
3 answers

EFCore not possible to find any compatible framework version

I created a new simple net5.0 + EFCore project, but after trying to run dotnet ef update --project DAL I am getting an obscure error: >dotnet ef update --project DAL ... It was not possible to find any compatible framework version The framework…
Kyras
  • 63
  • 1
  • 5
6
votes
1 answer

dotnet in Rider: cannot resolve symbol 'Microsoft'

In Rider 2020.1.3 on macOS Catalina. I'm not normally a C# dev, so apologies for incorrect terminology. This is a .NET api containerized with Docker. Rider is randomly seeming to lose connection to the dotnet core libraries. It will be fine and then…
Lauren Rose
  • 118
  • 1
  • 3
  • 8
6
votes
2 answers

Is it possible to open a C# solution in Rider via the command line?

It's possible with VS code via installing a shell command, as seen in this SO question: How to open Visual Studio Code from the command line on OSX? Is the same thing possible with Jetbrain's Rider?
Jake12342134
  • 1,539
  • 1
  • 18
  • 45
6
votes
1 answer

How to build Android APK in Jetbrains Rider

I can't find option to build apk from xamarin project in Rider IDE. Thanks
Anandh
  • 159
  • 2
  • 10