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
0 answers

How to add a variable to the SQLCMD variable collection in Database Properties in JetBrains Rider

I am developing a database project in JetBrains Rider and need to add a variable to the SQLCMD variable collection in database properties. I know how to do this in Visual Studio, but how do I do this in Rider?
ChrisAsi71
  • 41
  • 4
0
votes
1 answer

Disabling Rider Auto Inline of Unity SerializeField

In the recent i find really disturbing that Rider put automatically inline my fields on a class when i use properties on them. How can i disable this behaviour?
Lucaffo
  • 13
  • 1
0
votes
1 answer

how to assign driver in order to request cab or ride in flutter

how to send request to nearest driver in order to booking a ride or cab's, but I want just when I click on request button the driver will automatically found the nearest one. I used geo_fire plugin for nearby drivers but I want to pick nearest…
Zia Afridi
  • 11
  • 3
0
votes
0 answers

Assign header value to variable

I am trying to assign a header value to a variable from Rider HTTP Client but bet an exception. How to assign value to a variable? The line that gives exception let s = response.headers.valueOf("content-disposition"); Actual exception Test…
Tomas
  • 17,551
  • 43
  • 152
  • 257
0
votes
1 answer

Rider automatically formats List initializer to not contain spaces causing compilation errors

When I write following code in Rider: new List { Guid.NewGuid() } and I type ; at the end, Rider automatically formats this into new List {Guid.NewGuid()}; Note that spaces were removed before and after both braces. Compiler doesn't like…
Patrik Mihalčin
  • 3,341
  • 7
  • 33
  • 68
0
votes
0 answers

Rider - .NET Core Build Issues with IIS

I'd like to use JetBrains Rider IDE more in my professional work, however we use IIS (not Express) as our platform for local development, which causes me some issues with building my code. When I build my solution, it is fine. However when I build…
Dellgloom
  • 89
  • 1
  • 8
0
votes
0 answers

How to get mouse inputs in Rider's Console to do a Minesweeper

I'm trying to do a Minesweeper in C# using the Rider's Console. At this time, I get the inputs by asking the player to enter coordinates using Console.ReadLine but I want to go to the next level and wait for the player to click on a cell of the…
Mathis
  • 11
  • 2
0
votes
1 answer

When creating a new ASP.NET app in Rider, can you do so using a local SQL Server instead of SQLite?

I'm getting started with Rider and have mostly written console apps so far. When selecting the template in new project creation I select ASP.NET Core Web Application. This creates a new SQLite DB and builds the project file using…
ILikeWhiskey
  • 551
  • 5
  • 12
0
votes
0 answers

JetBrains Rider IDE shortcut for printing

In JetBrains IntelliJ, one can write just sout and the IDE write System.out.println(); I know that C# can be used in different types of projects. Some projects require printing things in console and thus we need to print things like…
ibda
  • 376
  • 3
  • 15
0
votes
0 answers

JetBrains Rider equivalent to Visual Studio 'New Solutions Explorer View'

I have just recently switch to JetBrains Rider from Visual Studio. In visual studio (I believe it's from version 2022), I am able to open a new solution explorer window for each project in a solution (right click the project and select 'New solution…
Anthony
  • 39
  • 6
0
votes
1 answer

Is it possible to set rider as difftool in GitExtensions?

I couldn't find information on google whether you can assign the rider as a diff and merge tool in GitExtensions. There is no such option in GitExtensions by default On GitHub Gist, there is only one mention of setting up rider as a global…
Pasha
  • 3
  • 2
0
votes
1 answer

ReSharper SDK: possible to create directories and multiple files in Rider?

I'm using ASP.NET Core. A lot. My project structure is as follows (example): \Logic public ILogicStuff public IAdditionalLogicStuff \Calculation internal IAddition internal ISubtraction \Implementation \Logic internal LogicStuff :…
frankencode
  • 109
  • 1
  • 7
0
votes
0 answers

How to setup MySQL Rider - MacOS

Few weeks ago I started to learn C# (through course) and next step is database. Sadly for me, everything is shown on Visual Studio, but VS doesn't support databases on MacOS. I am using Rider - was recommended to me by MacBook user - lecturer.…
NEU
  • 1
  • 1
0
votes
1 answer

C# Rider IDE can't create a new project

I've installed Rider IDE on my Arch machine using flatpak, I face an error while creating new projects Unable to load project and obtain project information from MsBuild. The error message says: Probably this project is incompatible with the current…
Farhad
  • 75
  • 1
  • 10
0
votes
1 answer

Cross compilation of .NET project on faster machine

I'm sure I'm not the only one who has been thinking about trying this, but I haven't really seen anyone discuss it. Let me explain: I work from home sitting in front of my own personal desktop PC. I RDP into my Windows laptop, running a decent i7…
MortenMoulder
  • 6,138
  • 11
  • 60
  • 116