Resharper solution-wide scan ignoring custom severity level

Using Resharper 2020.1.3 with Visual Studio 2019, I modified the severity level for "type is never used" and "type member is never used" to be treated as warnings for C#.

Within my text editor I see them underlined as warnings, however the solution-wide analysis icon still shows no errors or warnings. In the "Error/Warnings in solution" window I also see nothing. I also tried changing the severity level to "error" and still nothing.

I tried:

  • Restarting my computer to ensure all settings were loaded fresh.
  • Saving the change at personal and the project level through the settings window.
  • Saving the change by clicking on the suggestion context options and changing severity.
  • Cleaning solution and rebuilding multiple times
  • Ensuring that VS's on linter was not interfering or that I was not using it by accident.

That said, if I do a manual scan via "Code Issues in Solution" it will show me the warnings. Its only the passive background scan that is not using my settings which is extremely misleading.

 

0
1 comment
Official comment

Hello Stephen,

 

thank you for contacting us.

Unfortunately, this is a known issue global inspection - https://youtrack.jetbrains.com/issue/RSRP-461819. You are welcome to comment or vote for it.

Thank you.

Please sign in to leave a comment.