Resource strings should be spelled correctly
This warning is supported in the stand-alone version of FxCop only. It is not supported in Code Analysis, which is integrated into Visual Studio.
TypeName |
ResourceStringsShouldBeSpelledCorrectly |
CheckId |
CA1703 |
Category |
Microsoft.Naming |
Breaking Change |
NonBreaking |
Cause
A resource string contains one or more words that are not recognized by the Microsoft spelling checker library.
Rule Description
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.
By default, the English (en) version of the spelling checker is used.
How to Fix Violations
To fix a violation of this rule, correct the spelling of the word or add the word to a custom dictionary. For information about how to use custom dictionaries, see Identifiers should be spelled correctly.
When to Exclude Warnings
Do not exclude a warning from this rule. Correctly spelled words reduce the learning curve required for new software libraries.
Related Rules
Resource string compound words should be cased correctly