J
Joe Monnin
While using VS2008, I have a word that is beging flaged by the static code
analysis tool as a violation of CA1703,
ResourceStringsShouldBeSpelledCorrectly. I have added the word to my
CustomDictionary.xml file and set it's build action to
"CodeAnalysisDictionary". I still get the error.
The word is actually an abbreviation: ECN which means "Engineering Change
Notice." In my case, I need to refer to the ECN in the plural, so I have it
written as "ECNs" which is correct according to to Microsoft Manual of Style
V3 which states "form the plural of an acronum by adding an s with no
apostrophe." It further gives the examples of "APIs" and "CPUs" as correct
plural abreviations. Following this rule, "ECNs" is correct, but try as I
might, I cannot get the Visual Studio Static Code Analysis tool to stop
complaining about "ECNs". If I spell it in all uppercase as "ECNS" it's
happy, but with the "s" is lowercase, it complains. Is there a solution
short of using the SuppressMessage attribute?
analysis tool as a violation of CA1703,
ResourceStringsShouldBeSpelledCorrectly. I have added the word to my
CustomDictionary.xml file and set it's build action to
"CodeAnalysisDictionary". I still get the error.
The word is actually an abbreviation: ECN which means "Engineering Change
Notice." In my case, I need to refer to the ECN in the plural, so I have it
written as "ECNs" which is correct according to to Microsoft Manual of Style
V3 which states "form the plural of an acronum by adding an s with no
apostrophe." It further gives the examples of "APIs" and "CPUs" as correct
plural abreviations. Following this rule, "ECNs" is correct, but try as I
might, I cannot get the Visual Studio Static Code Analysis tool to stop
complaining about "ECNs". If I spell it in all uppercase as "ECNS" it's
happy, but with the "s" is lowercase, it complains. Is there a solution
short of using the SuppressMessage attribute?