Similar questions: Styleguide for C# and StyleCop: a complete document
Ok, so I'm looking into some sort of style control at my workplace for the applications we develop in C#. I was initially just planning on producing a style guide (by collecting a number of existing style guides and picking the suitable parts from), however it seems like StyleCop might be a good addition or alternative to a style guide.
So, my question(s) are:
- What are the potential problems with a style guide and/or StyleCop that I am likely to run into?
- If I use StyleCop how similar do I want the style guide to be? Do I want to attempt to prevent/limit any variation between the 2 methods? I ask because if StyleCop doesn't enforce it then it could potentially be ignored (or is that not really too much of an issue?).
- If I'm using StyleCop, is it even worth the time and effort of creating a style guide?
- Are there any alternatives to StyleCop that a worthwhile looking into? (e.g. An alternative that has very good usability/customization and "could" be considered sufficient on it's own).
EDIT: Just a little bit of background, my workplace has a "software department" that is only really just forming now. There is 3 full time c# developers, 3 developers who may touch/use/alter the c# code, a number of BA's and no official testers.