How is it possible to get the FxCop custom dictionary to work correctly?
I have tried adding words to be recognised to the file 'CustomDictionary.xml', which is kept in the same folder as the FxCop project file. This does not seem to work, as I still get the 'Identifiers should be spelled correctly' FxCop message, even after reloading and re-running FxCop. Using version 1.36.
I struggled with most of the above answers and kept searching for a solution. I finally made this change to my .fxcop file and checked it into source control, it works both from the command line and gui fxcop
I changed this line
to
Also make sure the file really is
*.xml
and not*.xml.txt
. Then feel silly for creating a file with notepad and forgetting that it always adds a txt extension. That's what it turned out to be for me.