0

Visual Studio has a nice feature to spit out a bunch of compiler warnings if some of the public members are missing XML documentation.

I would love to have the same for internal, or better, any non-private members, but unfortunately so far I wasn't able to find how to configure the level of visibility for which to require XML documentation.

I admit that the same question was asked a long time ago, but the OP didn't get a single answer.

Community
  • 1
  • 1
chiccodoro
  • 14,407
  • 19
  • 87
  • 130

2 Answers2

2

You can use StyleCop to require many styling rules for your code. Xml comments is one of those rules.

Andrew Bezzub
  • 15,744
  • 7
  • 51
  • 73
  • You can configure StyleCop to run with VS builds but it requires StyleCop installed on all developer and build machines. – Andrew Bezzub Oct 28 '10 at 10:05
0

You can use ReSharper's Agent Smith plugin to prompt you with standard in-line warnings.

Anton Georgiev
  • 610
  • 6
  • 14