1,315 questions
0
votes
1
answer
80
views
How to fix the Rider's new UI outline break on Windows 11?
As the title, when I edit code in the editor, the outline is normal, which is red on my Windows 11 PC, just a round red line.
But when I get to see the function description, like just move your cursor ...
2
votes
1
answer
337
views
Replace var with explicit type after applying Code Cleanup in Rider
I use Rider. What I would like to do is to replace var with explicit type after using Reformat and cleanup code.
For example, I have the following code snippet:
var number = 1;
I've set the following ...
-1
votes
1
answer
284
views
Rider + Blazor + Scss + hot reload
I have been using the node sass plugin and building my scss files during my dotnet build process, which works, but takes so much time whenever I make a change.
I decided to switch to using prepros to ...
0
votes
2
answers
85
views
Cannot convert null to type parameter 'T1' because it could be a value type. Consider using 'default(T)' instead
I have a really weird error. Here is a MRE:
var outputs = new (
(Typing First, Typing Second) a,
(Typing First, Typing Second) b,
(Typing First, Typing Second) c,
(Typing First, Typing ...
0
votes
0
answers
98
views
editorconfig and placement of close brace for object initializers
In JetBrains Rider, the following code:
var p = new
{
companyId,
includeHistory,
getDescriptions,
includeFlexiFields,
includeRelatedValues,
};
formats like this:
var p = new
{
...
1
vote
0
answers
265
views
Using ReqNRoll with Rider IDE and some test dont have run button
I am having issue with running Cucumber / Gherkin some tests. Some of the tests dont have the run button next to it and trying to figure out why ???
I have done:
ReInstall all plugings
Removed the tag ...
1
vote
1
answer
141
views
Project closes after build in JetBrains Rider
After build the project close and back to start window in Jetbrains Rider, the current project file is deleted and returned again, next I return to the start screen.
I tried changing different ...
-1
votes
1
answer
66
views
How to hide the editor overlay text which displays the active solution name in a light red box
JetBrains Rider displays the name of the active solution in a very annoying overlay, please see the screenshot.
How can we remove it?
I tried to find a solutions since hours:
I have disabled all ...
1
vote
1
answer
141
views
StackOverflowException on project startup in JetBrains Rider but not in Visual Studio 2022
I have a large .NET solution (~25 projects) that runs and debugs without any issues in Visual Studio 2022. Recently, I tried switching to JetBrains Rider (version 2024.3.2). However, when I attempt to ...
2
votes
1
answer
1k
views
How to remove a project reference in Rider?
In one of my projects MyProject I've added a reference to another project called OpenAI using right click - Add - Reference...
Now I want to remove this reference, but when I check Add - Reference, it ...
0
votes
1
answer
88
views
Does EditorConfig has a rule to recognize Todo Comments?
I am working on a C# .NET Code Base, where a Custom Roslyn Analyzer is involved that analyze Existence of Todo Comments. We work with the IDE JetBrains Rider 2024.2.4.
Recently we integrated ...
1
vote
1
answer
162
views
Dapper - Unable to resolve property
I am trying to create a create method which will insert rows into my database.
Table
This is my database table. As you can see it has an accountId column
CREATE TABLE [dbo].[Transactions](
[Id] [...
0
votes
1
answer
44
views
Bulk Fix Message Template Should be Compile Time Constant - Rider
I've inherited a codebase that didn't use ILogger correctly and has interpolation in almost all of its logging.
I would have sworn Rider used to be able to bulk-fix this but it doesn't seem to be able ...
6
votes
1
answer
854
views
.NET 9 Debugger Step Over (F10) Behaving Like Continue (F5)
I'm experiencing an issue with debugging in .NET 9 after upgrading from .NET 8.
When using the debugger's Step Over function (F10), it most of the time behaves as if I pressed Continue (F5) instead.
...
0
votes
2
answers
75
views
Trace which methods are called during program execution?
I want to trace which methods are called during the execution of my c# program. How is that possible using Rider or Visual Studio?
Use case:
In one of my projects, I am getting an error about a ...
0
votes
1
answer
855
views
Cannot run Blazor projects in Rider 2024.X
I get the following error whenever I try to run a Blazor project:
It seems somehow its related to Chrome or a Chrome profile not being available for Rider. The folder chrome-user-data indeed doesn't ...
0
votes
1
answer
253
views
Rider: showing own code style but not ignoring editorconfig
In Rider (JetBrains), I would like to show the code of our projects in a different style than they actually are. We have a linter with quite weird rules. I do accept the linter and I apply it to my ...
1
vote
1
answer
188
views
Prevent JetBrains Rider from removing dependency configuration
I have a C# project with dependencies.
I've configured the dependencies insdie the .csproj with Private set to False to prevent the packages from being copied to the build directory.
Now when I use ...
0
votes
1
answer
105
views
Is it possible to change the colour / color of a C# class based on the type in Visual Studio / Rider / R#
We have .NET 8 C# classes that inherit from Event and Command.
It would be nice to see the Something : Event class in a different color within the IDE.
Is there a R# plugin that can color classes ...
0
votes
1
answer
108
views
401 errors when trying to restore dotnet program in Rider on Linux
I had a dotnet program that was working fine. I pulled the latest master on JetBrain Rider 2024.2.4. I am suddenly getting NU1301
Troubleshooting I've done:
Dotnet clean && dotnet restore
re-...
1
vote
1
answer
274
views
Rider on macOS gives malicious software every time it builds
I am working one a Rider project on macOS Sonoma. Every time I compile and run my app, macOS pops up with this.
go to settings/security, say yea, allow, and everything runs. until i recompile the ...
0
votes
1
answer
82
views
JetBrains Rider: keep single line scope
I press Ctrl+Shift+L in JetBrains Rider, which opens a dialog window. I select Whole Solution, and it starts cleaning up the code. However, I want it to stop transforming this:
public Task<...
1
vote
1
answer
302
views
How can I disable the gray hints in Rider?
I recently began using Rider in conjunction with Visual Studio and have been unable to locate a setting that would disable the grayed-out prompts.I have reviewed the settings, however, as I am unaware ...
2
votes
0
answers
146
views
Sign-off Author field erases itself on commit in JetBrains Rider
In JetBrains Rider (and other JetBrains products) we can Sign Off our commits:
However, after a commit and a push, the Author field erases itself.
Note that everything works as expected on remote. It'...
0
votes
1
answer
214
views
Is it normal that Rider doesn't do anything about paramref XML documentation tags?
Here is a MRE
/// <summary>
/// Adds two numbers together.
/// </summary>
/// <param name="a">The first number to add.</param>
/// <param name="b">The ...