ReSharper 2016.1 Help

Project-Specific Properties

The main set of ReSharper preferences (configured in the Options dialog box) apply either globally or per solution. There are also some preferences that can be configured for each project separately. These preferences are available under the ReSharper property group in the Visual Studio's Properties window.

The same as other ReSharper settings, project-specific properties are saved in two files: [ProjectName].cproj.DotSettings (intended for common preferences, lick C# version) and [ProjectName].cproj.DotSettings.user (intended for personal preferences like local path mapping). If necessary, you can share the common preferences with your team by putting the [ProjectName].cproj.DotSettings file under source control.

To view and edit project-specific properties

  1. Select the desited project in the Solution Explorer.
  2. In the Visual Studio menu, choose View | Properties Window or press F4.
  3. In the Visual Studio's Properties window, switch to the Categorized view and expand the ReSharper category.
C# Language Level Use this selector to choose the C# version. The Default value means that ReSharper automatically detects C# version based on the project settings. However, you can specify the C# version explicitly. Depending on the selected C# version, ReSharper's code inspection detects code issues and suggests improvements relevant to the selected C# version.
Custom pageParseFilterType handling This property is only available for web projects.
Use this selector to choose how ReSharper should treat unrecognized values of the pageParseFilterType attribute of the pages element in Web.config.
Localizable This preference defines whether to perform localization inspection. If the Default value is selected, the inspection is only performed if there is at least one resource file in the project. THe Yes and No values allow to enable/disable this inspection explicitly.
Localizable inspector This preference defines the algorithm that ReSharper uses to detect localizable strings; Optimistic or Pessimistic. If the Pessimistic algorithm is chosen, ReSharper looks for localizable strings in all elements, except those which have attribute Localizable(false). If the Optimistic algorithm is chosen, ReSharper analyzes only elements with attribute Localizable(true). Depending on these settings, ReSharper defines whether a specific string is localizable, highlights localizable strings and enables the corresponding quick-fix.
Path mapping This property is only available for web projects.
Using this preference, you can synchronize locations of files during the design of the app with the locations where the app gets deployed. For more information, see Path mapping.
Solution-Wide Inspections This preference defines whether the Solution-Wide Code Inspections should be enabled in the project. The On and Off values allow to enable/disable this inspection explicitly. The Internal symbols only value partly enables this inspection for types and type members with the internal access.
Note that this preference only applies if the Solution-Wide Analysis is enabled.

See Also

Last modified: 19 August 2016