ReSharper 2023.1 Help

Code Inspections in Web.config

In Web.config, ReSharper 2023.1 provides 13 proprietary code inspections, any of which you can disable or change its severity level.
These code inspections help you detect code issues in design time in all open files, and additionally they allow you to find code issues in specific scope.

Configurable Web.config inspections are listed below, grouped by their categories.

Code Notification (2 inspections)

This category groups code inspections with minor severity levels.

Inspection


ID


EditorConfig property

Default severity

Ignored path


Web.IgnoredPath


resharper_web_ignored_path_highlighting

Disabled

Mapped path


Web.MappedPath


resharper_web_mapped_path_highlighting

Hint

Potential Code Quality Issues (5 inspections)

This category includes inspections that detect critical issues (code smells), mostly with Error or Warning level. This category also includes inspections that ensure localization assistance.

Inspection


ID


EditorConfig property

Default severity

Cannot resolve module


WebConfig.ModuleNotResolved


resharper_web_config_module_not_resolved_highlighting

Error

Cannot resolve symbol


WebConfig.TypeNotResolved


resharper_web_config_type_not_resolved_highlighting

Error

Module qualification required


WebConfig.ModuleQualificationResolve


resharper_web_config_module_qualification_resolve_highlighting

Warning

Referenced path cannot be found in the website


WebConfig.WebConfigPathWarning


resharper_web_config_web_config_path_warning_highlighting

Warning

Wrong module


WebConfig.WrongModule


resharper_web_config_wrong_module_highlighting

Error

Redundancies in Code (6 inspections)

Code inspections in this category look for redundancies and dead code, which affect code readability and style, and could be safely removed. Some code redundancies cannot be fixed automatically, and quick-fixes for them are performed in the interactive mode, requiring the user input. But the majority of the redundancies can be fixed without user interaction, using either fix in scope or code cleanup.

Inspection


ID


EditorConfig property

Default severity

Redundant add element


WebConfig.UnusedAddTag


resharper_web_config_unused_add_tag_highlighting

Warning

Redundant add namespace element


WebConfig.RedundantAddNamespaceTag


resharper_web_config_redundant_add_namespace_tag_highlighting

Warning

Redundant element or attribute because of 'configSource' attribute


WebConfig.UnusedElementDueToConfigSourceAttribute


resharper_web_config_unused_element_due_to_config_source_attribute_highlighting

Warning

Redundant location element


WebConfig.RedundantLocationTag


resharper_web_config_redundant_location_tag_highlighting

Warning

Redundant remove or clear element


WebConfig.UnusedRemoveOrClearTag


resharper_web_config_unused_remove_or_clear_tag_highlighting

Warning

Redundant tagPrefix declaration


WebConfig.TagPrefixRedundand


resharper_web_config_tag_prefix_redundand_highlighting

Warning

Last modified: 27 March 2023