ReSharper 2024.1 Help

Code inspection: Resource is not declared in base culture

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, ReSharper highlights the resource declaration and suggests the corresponding quick-fix:

ReSharper: 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: 11 February 2024