This documentation is archived and is not being maintained.

Resource strings should be spelled correctly







Breaking Change

Non Breaking

A resource string contains one or more words that are not recognized by the Microsoft spelling checker library.

This rule parses the resource string into words (tokenizing compound words) and checks the spelling of each word/token. For information about the parsing algorithm, see Identifiers should be spelled correctly.

In order for this rule to fire the assemblies must be marked with the AssemblyCultureAttribute or the NeutralResourcesLanguageAttribute.

This rule only supports English based cultures. This rule will not fire for any other cultures. By default, the English (en) version of the spelling checker is used.

To fix a violation of this rule, use complete words that are correctly spelled or add the words to a custom dictionary. For information about how to use custom dictionaries, see Identifiers should be spelled correctly.

Do not suppress a warning from this rule. Correctly spelled words reduce the time it takes to learn new software libraries.