Sean M
Sean M

Reputation: 626

Has Anyone Customized StyleCop rules based on the IDesign Coding Standard?

Has Anyone Customized StyleCop rules based on the IDesign Coding Standard?

Upvotes: 6

Views: 603

Answers (1)

uuunk
uuunk

Reputation: 93

you might want to try Code Style Enforcer. It manages rules based off the iDesign standard.

I think you can set a check in policy for any code analysis that's done at dev time. If you go to Team Explorer -> Project name -> Right click on Settings -> Source Control you’ll see a Check-in Policy tab where you can add a Code Analysis policy. There you can add a rule set that has been checked into TFS. I think you should be able to access the Code Style Enforcer rules if you've installed them per the instructions on the page:

Global Configurator

  1. In the start menu, select "Code Style Enforcer" and "Configurator".
  2. Select where the global rules are to be located, e.g. a shared folder under source control, since the rules will be linked to a solution from here when selecting "Use Global Rules" in Visual Studio.
  3. Configure the global rules that are most common for your solutions

Upvotes: 1

Related Questions