Where is the Stylecop configuration file?

后端 未结 3 1726
甜味超标
甜味超标 2021-02-11 20:38

I\'ve installed Stylecop via NuGet. I wish to disable some rules, and I know this can be done via a configuration file from what I\'ve read. However, I can\'t find the file anyw

3条回答
  •  既然无缘
    2021-02-11 21:18

    The file Settings.StyleCop should be located in your install directory, on my machine it's here:

    C:\Program Files (x86)\StyleCop 4.7\Settings.StyleCop

    You can edit the rule settings by opening this file with StyleCopSettingsEditor.exe, located in the same directory (double-clicking the settings file will do the trick).

提交回复
热议问题