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

Sorting methods (by number of arguments) using JetBrains Rider File Layout

I'm using Unity/C# and I try to setup Rider File Layout XML to format code in specific way. What I want - is to put methods with certain names (e.g. Awake(), Start(), Update() etc.) in front of other methods. The important part is that I want to…
0
votes
1 answer

Why is Rider not resolving references to my installed NuGet packages?

I have a .Net Core project and am using the most recent version of Rider installed. I'm pretty new to Rider here (migrating over from using Visual Studio). One of the projects references the DiDiSoft package (
JohnB
  • 3,921
  • 8
  • 49
  • 99
0
votes
1 answer

Wpf App "Cannot resolve symbol 'DatePicker'" Rider 2021.2.1

I was trying to do some simple wpf app, but i couldn't use DatePicker class in my .xaml file. Is it some kind of Rider problem? In VS there wasnt problems like that.
0
votes
0 answers

Code analysis in JetBrains Rider does not work

I started using Rider 2022.1.2 for C++. I can see errors in the current file in the Problems->Current File tab, but I don't see any errors in the Problems->All solution files tab. Solution analysis enabled. What's wrong?
0
votes
1 answer

2 Console Apps started for debugging but the first app started can't reach breakpoints

I have two .net 6.0 console apps, one Api and one Ui app. Both are started separetly with debugging enabled. But only the last one started can reach the breakpoints. The message when i hover over the breakpoint is "Didn't find the asssociated…
0
votes
1 answer

How to specify environment variables in .csproj file

How can I, through the .csproj file, specify environment variables to apply during the build, such as when building with Rider? Specifically, I want to set DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1 so that I can build from within the IDE, without…
0
votes
2 answers

Rider npm run configuration failing

I'm trying to set up debug environment in Rider for React application. I have created an empty react app by by using npx create-react-app. The app could be launched by npm start command in cmd, which works perfectly. Now I want to run it with within…
Aleksei Petrov
  • 936
  • 12
  • 31
0
votes
2 answers

How to transform .json files in Rider

In order to have different configurations available for testing of different mobile OS's, I'm trying to create transform files in Rider on (config/appsettings).json files. On the rider website there's a blog showing how to do exactly that for…
Erijk
  • 380
  • 3
  • 8
0
votes
2 answers

JetBrains rider IDE => Hosting Environment

enter image description hereI am trying to move from Visual Studio 2022 to JetBrains rider with my .NET full-stack project. I am using Webpack for my front-end side if it gives anyone a clue (I also run the Webpack command like in my vs2002). The…
roy dinor
  • 3
  • 3
0
votes
1 answer

How to disable tracking changes within editor of Rider?

When Rider detects you are using some version control it will show for example gray triangles next to line numbers in places when some code was removed (within the editor). How to disable this feature? I checked settings with phrase "track changes"…
greenoldman
  • 16,895
  • 26
  • 119
  • 185
0
votes
1 answer

Rider for Unreal - perforce integration with files that are not in project subdirectories

I used Rider for Unreal for quite some time now, I got used to it so much that at the other company I work I wanted to use it as well, the only problem is that I cannot make the perforce plugin work properly. I have no trouble connecting to the…
0
votes
1 answer

Jetbrains Rider doesn't allow debugging on 3rd party exceptions

I'm not sure if I'm missing something here, but it doesn't appear to be possible to debug exceptions in Jetbrains Rider. I have an incredibly simple piece of code that throws an exception (invalid file name) and there is no way I can find to a) stop…
JSobell
  • 1,825
  • 1
  • 14
  • 10
0
votes
2 answers

How to make Live Templates (snippet) work in JetBrains Rider C#?

Any idea how to make Live Templates work in JetBrains Rider C#? For example, when I type cw it doesn't show any snippet. Please have a look at the screenshot. I tried different sections of the program and many other snippets, but none works.…
Lado
  • 189
  • 7
0
votes
0 answers

ASP.NET Can not Resolve System.Net, System.Http

I apologize for this question, but I am absolutely new to .NET development (coming from Java...) I am trying to test this example of…
jirka
  • 41
  • 5
0
votes
1 answer

How to create a Code Template in Rider on array type specifically (for postfix character)?

I want to have an ability to write someArray.rnd and I want it to generate the below code: UnityEngine.Random.Range(0, someArray.length) I found these Postfix Templates, but I see no option to define our own for C#, only for…
Jacob
  • 351
  • 2
  • 9