views:

26

answers:

1

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.

+2  A: 

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

Andrew Bezzub
@Andrew: Sounds cool!
chiccodoro
You can configure StyleCop to run with VS builds but it requires StyleCop installed on all developer and build machines.
Andrew Bezzub