The main set of ReSharper preferences (configured in the Options dialog) 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
- Select the desited project in the Solution Explorer.
- In the Visual Studio menu, choose or press F4.
- 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
|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 enabling/disabling 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 |
|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 enabling/disabling 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.