How to use FxCop custom dictionary

FxCop Integrator supports to analyze your code with FxCop custom dictionary. Also, it supports to edit FxCop custom dictionary with the GUI editor.

FxCop dictionary editor

  • Step 1
Right-click on the solution and select [Context Menu] > [Edit FxCop Dictionary].
OpenFxCopDictionaryEditor.png
  • Step 2
Define words/terms (please refer to How to: Customize the Code Analysis Dictionary) and click [Save] or [Apply] button.
FxCopDictionaryEditor.png

FxCop custom dictionary file

The created FxCop custom dictionary file is stored in $(SolutionDir)\CodeAnalysis\FxCopDictionary.xml.
FxCopCustomDictionaryFile.png
When you analyze your code, FxCop Integrator automatically finds this file and use it if it exists. So, you can use an existing FxCop custom dictionary file if you copy it to above path.

Last edited Dec 4, 2011 at 12:43 PM by sasaminn, version 5

Comments

No comments yet.