ReSharper 2016.2 Help

Ignoring Errors/Warnings in Solution

At some stage of your solution development, you may have too many errors/warnings known to you. ReSharper 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/Warnings 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/warnings

  1. With solution-wide analysis enabled, choose ReSharper | Windows | Solution Errors in the main menu or double-click the circle indicator in the right corner of the status bar.
  2. In the Errors/Warnings in Solution Window, select a discovered error/warning or the containing file to ignore all issues in it.
  3. Click Ignore Error/Warning(s) Reference__Windows__Errors_in_Solution__Ignore_Errors on the toolbar. If you have selected a file, ReSharper will ignore all issues that it contains, and removes its entry from the list.
    If you have selected a single error/warning, ReSharper only ignores this specific item and removes it from the list.
  4. To view the ignored errors/warnings, click Show Ignored Errors/Warnings Reference__Windows__Errors_in_Solution__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.

To stop ignoring specific errors/warnings in solution

  1. With solution-wide analysis enabled, choose ReSharper | Windows | Solution Errors in the main menu or double-click the circle indicator in the right corner of the status bar.
  2. On the toolbar of the Errors/Warnings in Solution Window, click Show Ignored Errors/Warnings Reference__Windows__Errors_in_Solution__Show_Ignored_Errors.
  3. Select an ignored item or file. Such items are shown as crossed out.
  4. Click Stop Ignoring Error/Warning(s) Reference__Windows__Errors_in_Solution__Stop_Ignoring_Errors to stop ignoring the selected item.

See Also

Last modified: 15 December 2016