Stylecop: Source Control the CustomDictionary.xml dictionary?

情到浓时终转凉″ 提交于 2019-12-11 04:55:16

问题


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?


回答1:


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)



来源:https://stackoverflow.com/questions/18917055/stylecop-source-control-the-customdictionary-xml-dictionary

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!