ReSharper 8.0 Web Help

ReSharper's solution-wide analysis enables two related but distinct features:

  • Solution-wide error detection of any compiler or runtime errors in the whole solution that lets you view the list of errors using the Errors in Solution window and navigate between these errors. This feature works together with the design-time code inspection and brings two advantages:
    • You do not have to open every file to make sure that your solution does not contain errors.
    • If you delete a public member or change its visibility, code in the current file can be still correct, but what if this member is used somewhere else in the solution? For example, suppose that you changed the visibility of a member from public to internal, assuming that it was only used inside the current assembly. At this stage, ReSharper finds no errors in the current file. Then, you switch on the solution-wide analysis, and actually there are errors. You jump to the next error in solution and find out that someone uses this member from outside of the current assembly.
  • Solution-wide code inspections are warnings or suggestions, that can be only detected by analysing the whole solution (unused public members, classes, and parameters, unassigned fields, suspicious type conversions etc.). These issues are highlighted in the opened files in the same way as other issues, and they also appear in the Inspection Results window when you run code inspection in specific scope.

Note

Solution-wide analysis can take some time for initial processing of the solution and therefore, it is disabled by default. You should switch it on explicitly for every new solution you open.

This section explains how to:


This feature is supported in the following languages/technologies:

C# VB.NET HTML ASPX Razor JavaScript TypeScript CSS XML XAML RESX Build Scripts
feature_available feature_available feature_available feature_available feature_available feature_available feature_available feature_available feature_available feature_available feature_available feature_available

Tip

The instructions and examples given here address the use of the feature in C#. For details specific to other languages, see the corresponding topics in the ReSharper by Language section.