Code Analysis - CA1704: Correct the spelling of 'Ps'

前端 未结 2 1620
遥遥无期
遥遥无期 2021-01-03 00:11

I am getting the following warning from Code Analysis in VS2010

CA1704 : Microsoft.Naming : Correct the spelling of \'Ps\' in member name \'MyClas

2条回答
  •  北海茫月
    2021-01-03 00:49

    It's being rejected because it's flagged as an unrecognized word in the "root" custom dictionary in Code Analysis installation folder (usually %ProgramFiles%\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop). You'll need to remove it from the root dictionary unrecognized list before adding it as a recognized word in a project-specific dictionary will take effect.

提交回复
热议问题