I want to place a customdictionary.xml file inside my solution directory and have it source controlled so other developers can also take advantage of this. According to this StyleCop link I have to place it next to the stylecop.dll which is under program files.

It also talks about Settings.StyleCop file, which I don't seem to have. Is this per project or per solution ?

The file also talks about a custom.dic, is this different to the customdictionary.xml file?

有帮助吗?

解决方案

If you open the StyleCop settings editor, you can create a Settings.StyleCop file which indicates exactly which rules you want to evaluate for your project/solution. If you open the Spelling tab of the settings editor, there is a section where you can specify one or more folders where StyleCop will try and find additional CustomDictionary.xml files (you may need to resize the window to see this part)

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top