ReSharper 2016.3 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) /help/img/dotnet/2016.3/ThemedIcon.IgnoreErrors.Screen.[Gray].png 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 /help/img/dotnet/2016.3/ThemedIcon.ShowIgnoredErrors.Screen.[Gray].png 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 /help/img/dotnet/2016.3/ThemedIcon.ShowIgnoredErrors.Screen.[Gray].png.
  3. Select an ignored item or file. Such items are shown as crossed out.
  4. Click Stop Ignoring Error/Warning(s) /help/img/dotnet/2016.3/ThemedIcon.UnignoreErrors.Screen.[Gray].png to stop ignoring the selected item.
Last modified: 12 October 2017

See Also