Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sandcastle not generating private methods docs (C#)

I'm using the latest version of Sandcastle to generate documentation. I have a couple of public Instance classes with public and private methods and fields. The public methods are generated in the final docs output by Sandcastle but no other members are generated. Under Visibility, I have everything checked so I expect that everything should be generated in the documentation.

Anyone have any ideas?

like image 994
A.G. Avatar asked May 12 '26 15:05

A.G.


1 Answers

As from official FAQ from Eric Woodruff(developer of Sandcastle Help File Builder)

Classes need to be declared public in your code, you need to enable the DocumentPrivates and/or DocumentInternals project property so that Sandcastle documents the internal/private members, or you need to include at least one assembly and at least one namespace to document.

like image 53
inside Avatar answered May 14 '26 04:05

inside



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!