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
4
votes
1 answer

Fix Rider C# formatting of linebreaks for method parameter attributes

I prefer having parameter attributes stay on the same line as the parameter itself: [Authorize] [HttpPost()] public async Task> CreateQuoteDataOnly([FromBody] QuoteRequest request) However, I can't find the settings in…
Nateous
  • 757
  • 9
  • 23
4
votes
2 answers

How to Transform .Config on build for JetBrains Rider?

I'm trying to create custom configuration depending on the environment and it seems that the best way is to use config transforms. I'm trying to have the transform happen on build (to test locally), but the changes don't seem to work. Any ideas?…
guiltz_
  • 41
  • 4
4
votes
1 answer

Inspecting Collections in JetBrains Rider Debugger using Linq functions like Select/Where

I'm debugging a rather large VB.net script in Rider. Several Dictionary and List objects are constructed and I want to inspect them in the Debugger using Evaluate Expression and query them using Linq functions like Select and Where. In JetBrains…
MacHeath
  • 108
  • 7
4
votes
2 answers

Decompile ASP.NET Core 3.x sources in Rider

I use Rider 2019.2.3 on the Ubuntu 18.10 with installed .NET SDK of version 3.1.100. When I try to navigate to decompiled sources I sometimes see only declaration of the methods without their implementations, for example: public static class…
Nikita Sivukhin
  • 2,370
  • 3
  • 16
  • 33
4
votes
1 answer

Debugging .NET Core application with Jetbrains Rider using Dockerfile

I'm trying to run .NET Core WebApi project in debug configuration using Dockerfile. I've created api application using template in Rider (the one with ValuesController), created dockerfile like below. Running the app without debugging works fine…
4
votes
1 answer

Using import in proto file with Visual Studio/Rider

I am getting a "File not found" error when using import in a .proto file. I am using Rider but have the same problem when using Visual Studio. First proto File: syntax = "proto3"; import "/fileToImport.proto"; service GreeterAPI { rpc SayHello…
Patrick
  • 341
  • 4
  • 15
4
votes
2 answers

Is it possible to share a single file in the root folder of multiple git repositories?

Our team has multiple repositories for code and we're looking into ways to get a single location for some shared config files (specifically, the .editorconfig file). Is there a way to share a single file, AT THE ROOT OF A GIT REPOSITORY, across…
4
votes
1 answer

Unity: Expensive Method Invocation AND null comparison expensive - solutions (RIDER IDE)?

I am getting an "Expensive Method Invocation" AND a "Null comparison expensive" warnings and I would like to know how to fix these. void Update() { CheckCollision(); } and in CheckCollison where the errors are happening,…
Mark Smith
  • 437
  • 1
  • 6
  • 11
4
votes
0 answers

Variables Timed out during debugging in Jetbrains Rider or Visual Studio

I try to debug my Selenium UI-Tests and when I want to see Details of a variable I always get a Timed Out within 1000 ms. I know I can put the time up, but why is the debugger or the CLR so slow to evaluate the details of a variable? Can anyone…
Christian
  • 1,022
  • 13
  • 28
4
votes
1 answer

Xamarin SDK was not found for JetBrains Rider

I am hoping to work with Xamarin for a project, primarily to learn a little about cross-platform app development, and would prefer to stick to developing on Linux. This led me to attempt to work with the JetBrains Rider IDE, something that I…
RPiAwesomeness
  • 5,009
  • 10
  • 34
  • 52
4
votes
1 answer

Unable to bind my feature to Steps using Specflow with JetBrains Rider

I've tried to set up JetBrains Rider with Specflow, following some of the guidance I found on the web: generating-specflow-files-in-rider using-specflow-3-0-with-rider specflow-steps-generation-and-general-rider-changes ... thank you for the…
Peter Parker
  • 43
  • 1
  • 4
4
votes
0 answers

"Duplicate compile items" error when generating code from "Add Web Reference" in Rider

I'm creating a .NET core API that consumes a web service with the Rider IDE. I created a new csproj FooBar.Service, and added the web reference. The FooBar.Service.csproj file is as follow:
Boiethios
  • 38,438
  • 19
  • 134
  • 183
4
votes
1 answer

In JetBrains Rider, how can I show type information for the symbol under the cursor?

Specifically, for F# in Visual Studio, I often use the Quick Info (Edit.QuickInfo) keyboard shortcut (Ctrl+K, Ctrl+I) to show type information for the symbol under the cursor: Is there a keyboard shortcut that does this in JetBrains Rider?
Andrew Keeton
  • 22,195
  • 6
  • 45
  • 72
4
votes
2 answers

The comment slash // is indented too left (Rider)

I'm using Rider, and when I comment out a line using the keymap "Comment/uncomment with Line Comment", the slash // is indented too far left and not where the actual word was appearing. Perhaps a picture can illustrate it better. I'd like the slash…
jubibanna
  • 1,095
  • 9
  • 21
4
votes
1 answer

How do I run C#-based AWS Lambda functions locally for development?

I'd like to write an AWS Lambda function in C#. My eventual goal will be to make an Alexa skill, but it looks like the ASK CLI doesn't support C# yet. My development environment consists of: Ubuntu 18.10 x64 JetBrains Rider with the AWS Toolkit…
user3466413
  • 805
  • 1
  • 7
  • 16