JetBrains Rider 2024.1 Help

Code Inspection: Resource is not declared in base culture

Category

Potential Code Quality Issues

ID

NotDeclaredInParentCulture

EditorConfig

resharper_not_declared_in_parent_culture_highlighting

Default severity

Warning

Language

Resource files

If there are several cultures organised in a culture hierarchy, and there is a resource entry that is declared in a culture-specific resource file but is not declared in the default culture, JetBrains Rider highlights the resource declaration and suggests the corresponding quick-fix:

JetBrains Rider: Resource value is not declared in the base culture

After applying the quick-fix, resource declaration is inserted into the default culture where you can replace its value with a new one.

Last modified: 17 April 2024