Errors instead of warnings

Hello, I have a problem with errors that are not errors but more like warnings. This problem occurs with me all the time despite disabling .editorconfig and after clearing the cache. This is very disruptive to my work because there are too many of these errors.
Project is using .NET 6.

1
7 comments

Hello,

Perhaps you have <TreatWarningsAsErrors>true</TreatWarningsAsErrors> specified in the project file? 

If this is not the case, could you please share your settings and, if possible, a sample solution?

0

Hello,

I checked and I don't have “TreatWarningsAsErrors” in project. 
Here is id for my settings which i uploaded: 2024_03_20_nJAUVC4rSKY9JaDttRz7H1 (file: settings.zip)

0

Hello,

The file you have uploaded does not contain the settings that might affect the behavior you describe, because those are the “frontend” settings. I was referring to the layer-based settings available through Settings | Manage Layers. Apologies for not providing you with clear troubleshooting steps.

Please click Settings | Manage Layers button (at the bottom left of the Settings window)=> then click Export to File in the context menu for each layer. I will try to reproduce the behaviour once again with your settings, and hopefully, we can pin down the root cause of the issue.

Thank you in advance!

0

Hi Ivan,

I uploaded layers on Upload id: 2024_03_21_X7Ut8P84Cpb2cpURnoNRrN (file: layers.zip)

0

Hello,

In the settings you've kindly shared, there are 243 inspections where the inspection severity is overridden and set to Error. So I would assume a large number of errors could be somewhat expected here. Could you please clarify if the problem is that you're seeing Rider report errors for inspections that are not configured to be errors according to your settings?

0

How i can back to default severities?

0

Hello,

Please open Settings | Manage Layers dialog, right-click the layer you want to reset the settings for, and select Reset in the context menu. In the new window, enable the CodeInspection checkbox and click OK to reset those settings.

Let me know if you have any other questions.

0

Please sign in to leave a comment.