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

Simplest way to build dotnet SDK project requiring net461 on MacOS

I have a dotnet SDK .sln (and a build.proj) with netcoreapp2.1;net461. It builds on Windows using Visual Studio and dotnet build, but I'd also like it to build as many other places as possible. What do I need to…
Ruben Bartelink
  • 59,778
  • 26
  • 187
  • 249
6
votes
1 answer

How to set .runsettings in JetBrains Rider and MSTest

How can I set .runsettings for MsTest in JetBrains Rider? I tried File | Settings | Build, Execution, Deployment | Unit Testing | MSTest and choose the .runsettings file in Test Settings but this has no effect.
Christian
  • 1,022
  • 13
  • 28
6
votes
1 answer

JetBrains Rider: Can't change environment variable in a project profile

I am attempting to modify a .NET project's settings profile in JetBrains Rider on Linux by changing its environment variables. However, when I click on the folder icon, I can't click to add, delete, or modify any environment variables. I noticed…
aBlaze
  • 2,436
  • 2
  • 31
  • 63
6
votes
1 answer

How to trigger a design-time build on file change in Rider?

I made a NuGet package which generates C# code from DSL files at design and build time. It works fine in Visual Studio but has some issues in Rider (which I'll describe below). In Visual Studio The package declares custom items for the DSL files,…
Lucas Trzesniewski
  • 50,214
  • 11
  • 107
  • 158
6
votes
3 answers

JetBrains Rider hangs when creating solution file on Ubuntu 16.04

JetBrains Rider hangs indefinitely when creating solution file on Ubuntu 16.04. Already restarted both Rider and my system.
codeepic
  • 3,723
  • 7
  • 36
  • 57
6
votes
1 answer

Exclude lib folder from solution wide analysis resharper

R# solution wide analysis resharper has been trying to suggest changes in bootstrap.css, bootstrap.min.js, jquery.min.js and... what not. IMHO it should be handled by R# by default, Can we disable it? IMHO with invention of Rosylyn, must come out…
Abhijeet
  • 13,562
  • 26
  • 94
  • 175
6
votes
2 answers

Attach to debugger for Azure Functions from Rider on Mac

Just wondering if anyone has managed to attach and debug an Azure Functions app using JetBrains Rider? There only seems to be 2 debug options for Azure Functions --debug VS --debug VsCode Not sure if Rider can attach to these, I can't find much on…
Lenny D
  • 1,734
  • 4
  • 22
  • 43
6
votes
1 answer

How to add/use C# libraries in JetBrains Rider?

I am trying to use HttpClient client however I am unable to use using System.Net.Http;. How to correctly use C# libraries in JetBrains Rider? The os is linux.
Greg
  • 8,175
  • 16
  • 72
  • 125
6
votes
3 answers

How can I do ASP.NET MVC view scaffolding in Rider IDE?

Currently trying Rider (JetBrains IDE for .Net). I used to work on Visual Studio Enterprise for c# asp.net MVC projects, and i'd like to know if there's a way (on Rider) to do like the "Add -> view -> with create/delete/update/list" feature on…
j0w
  • 505
  • 2
  • 12
  • 32
6
votes
1 answer

Should I push contentModel.xml to GitHub repository?

I am trying to bring a local Git branch up-to-date with the current master branch. The local had been set aside for some time, so naturally we have many merge errors. One of these is about the contentModel.xml file. Is the contentModel.xml file…
Stanley G.
  • 136
  • 11
6
votes
3 answers

JetBrains Rider C# | Windows Form UI

I've developed a console application using Rider IDE by JetBrains. What I wanted to know is if there's a way of build an UI using Rider IDE? Or a plugin which creates the basic setup for an app with UI?
Miguel Pinto
  • 447
  • 1
  • 3
  • 15
6
votes
1 answer

How can I enable spell check in Rider?

When I type something like Console.WriteLine("helllllo worllll!"), IntelliJ IDEA will show green wavy lines under the word helllllo and worllll, but Rider won't. I've searched typo/spell using Ctrl+Shift+A, but I didn't get any helpful results. So…
ice1000
  • 6,406
  • 4
  • 39
  • 85
6
votes
2 answers

Rider Xamarin error MSB1008: Only one project can be specified

Just trying out Rider and came to this problem, if I just build the Xamarin Android project - it builds perfectly fine, however if I try to run it, it fails on deploy step with the following error: ▼ Project Not Found Microsoft (R) Build Engine…
Edgar.A
  • 1,293
  • 3
  • 13
  • 26
6
votes
3 answers

JetBrain Rider , Access denied when using IIS Express with Windows Authentication

I have an enabled Windows Authentication on my projects. When I run it from Rider, it always prompts me "access denied". It's working fine when I run it via Visual Studio. How can I solve this?
6
votes
1 answer

How to attach library source to JetBrains Rider

How can I attach the library source, such as MySql.Data.dll (source code file:mysql-connector-net-6.9.9-src.zip), to the IDE? When I Ctrl + Click the library class, it decompiles the dll file automatically, but I want to attach the source code to…
GS.
  • 73
  • 1
  • 8