Jonathan Allen
Jonathan Allen

Reputation: 70337

Generate XML documentation for private members

Is there a way to generate XML documentation for private members? Be default it only generates it for public members, which is correct for published code but not for code only used within a company.

Upvotes: 0

Views: 628

Answers (3)

user14372266
user14372266

Reputation: 1

For Sandcastle the answer is given here: Sandcastle not generating private methods docs (C#)

(Turn on DocumentPrivates in Sandcastle.)

Upvotes: 0

freshr
freshr

Reputation: 985

Try using GhostDoc.

Upvotes: 2

Rumen Georgiev
Rumen Georgiev

Reputation: 712

My advise is to write the xml documentation together with code. It doesn't take much time and also I have found that this approach helps me organize my code structure better.

Upvotes: 0

Related Questions