Hi there. Can anybody confirm or deny that I can modify default styles provided by StyleCop by just modifying some configuration file?
A:
You can disable rules but if you want to check a custom style, you will have to code your own rules. You may read the API help file of StyleCop.
Guillaume
2009-11-09 11:06:38
A:
Creation of new rules requires some C# code. See here and here for some articles on custom rule creation.
You can enable/disable the existing rules with a configuration file. Stylecop comes with the StyleCopSettingsEditor.exe which can be used to edit/generate a xml config file to configure which rules will be run. See this question on how to disable specific rules.
Simon P Stevens
2009-11-09 11:09:59