Ignoring Errors in solution
At some stage of your solution development, you may have too many errors known to you. Rider allows you to flexibly ignore some errors or error-containing files and not include them into solution-wide analysis results.
Such items will be hidden from the error list in the Errors in Solution window and they will not affect the state of the status bar indicator. When necessary, you can stop ignoring these items to display them.
To allow solution-wide analysis ignore specific errors
- With solution-wide analysis enabled, choose in the main menu.
- In the Errors in Solution window, select a discovered error/warning or the containing file to ignore all issues in it.
- Click Ignore Error/Warning(s) on the toolbar. If you have selected a file, Rider will ignore all issues that it contains, and removes its entry from the list.
If you have selected a single error/warning, Rider only ignores this specific item and removes it from the list.
- To view the ignored errors, click Show Ignored errors on the toolbar - you will see all errors/warnings in the solution, the ignored items are shown as crossed out. Even if you choose to display ignored items in the list, they will not affect the status bar indicator.