Reputation: 1515
I'm currently using Visual Studio Community for Mac 7.7.3 (build 43).
I'd like to enforce coding style conventions. I can't understand which is the most widely adopted tool to do it. StyleCop? FXCop? Microsoft Code Analysis? Any of them is the one that performs live code analysis in Visual Studio Community? Do I have to prefer an extension or a NuGet package?
I've read some books on C# but none of them covered tooling. Any advice?
Thanks, Adriano
Upvotes: 2
Views: 2242
Reputation: 11889
At my current place we use FxCop and StyleCop, enforced in the solution and build servers. Both are free and are well integrated into the IDE.
We do have Resharper, but performance is so poor on large projects, that most devs have turned it off. Also, it's a paid-for product, so not all developers have licences.
I would recommend not modifying the auto-format style, as most places I've worked at, use the defaults, so you might get into 'bad' habits that don't translate anywhere else.
Upvotes: 1
Reputation: 2879
Most developers i know use Resharper. Stylecop is good, but it's too hard to make same rules in Stylecop and Resharper
Upvotes: 0