ReSharper 2016.1 Help

Enabling Solution-Wide Analysis

Solution-wide analysis is disabled by default and should be explicitly turned on for every new solution you open.

To toggle solution-wide analysis

  1. In the ReSharper | Options | Code Inspection | Settings, make sure that the Enable code analysis check-box is selected, and click Analyze errors in whole solution.
  2. If you turn on solution-wide analysis, the Solution-Wide Analysis pop-up warning displays, click OK to continue.
  3. Click Save to apply the modifications and let ReSharper choose where to save them, or save the modifications to a specific settings layer using the Save To drop-down list. For more information, see Managing and Sharing ReSharper Settings.

Alternatively, you can right-click the circle indicator in the right corner of the status bar and choose Analyze errors in solution in the context menu. If the solution-wide analysis is off, just double-click the gray circle.

After you have switched on the solution-wide analysis, several changes are made:

  • The circle indicator in the right corner of the status bar displays the progress of solution-wide analysis. After it is complete, the indicator turns either green (if no solution-wide errors were found) or red (if errors were discovered):
    Solution-wide analysis indicator
  • A small area to the left of the circle indicator is allocated to show the number of solution files that contain errors, if any. You can click in this area to go to next error in the solution.
  • Solution-wide code inspections for non-private members become available both in the design-time code inspection and when you inspect code in a specific scope.
  • Names of the navigation commands in the menu are changed. Specifically, Next Error changes to Next Error in Solution and Previous Error becomes Previous Error in Solution.

See Also

Last modified: 19 August 2016