Can't exclude private fields from documentation

Topics: User Forum
Jan 12, 2012 at 9:05 PM
Edited Jan 12, 2012 at 9:06 PM

I have a simple documentation project for a single VB.Net 2.0 class that works great so far with one exception.

There are eight private fields in the class that I do not want to show up in the documentation, but I cannot get them to not show up. On the documentation project properties on the Visibility tab I do not have "Private members" or "Private fields" selected to be included. If I edit the API filter and uncheck these eight fields and close the API filter window the fields still show up, and if I open the API filter window again those fields are checked again to be included.

What am I doing wrong?

 

My build log shows no issues, either:

        Removing build files...
        Removing build folders...
        Building .....Documentation.shfbproj
        Initializing
        FindingTools
        ValidatingDocumentationSources
        GenerateSharedContent
        GenerateApiFilter
        GenerateReflectionInfo
        GenerateNamespaceSummaries
        ApplyVisibilityProperties
        TransformReflectionInfo
        ModifyHelpTopicFilenames
        CopyStandardContent
        CopyAdditionalContent
        MergeTablesOfContents
        GenerateIntermediateTableOfContents
        CreateBuildAssemblerConfigs
        MergeCustomConfigs
        BuildReferenceTopics
        CombiningIntermediateTocFiles
        ExtractingHtmlInfo
        GenerateHelpFormatTableOfContents
        GenerateHelpFileIndex
        GenerateHelpProject
        CompilingHelpFile
        GenerateHelpFormatTableOfContents
        GenerateFullTextIndex
        CopyingWebsiteFiles
        CleanIntermediates
        Completed
        The help output is located at:...........

Coordinator
Jan 13, 2012 at 2:44 AM

There are some odd quirks in the way VB.NET generated fields and member IDs that can cause some issues with the API filter and MRefBuilder in general.  Searching the discussions here turns up a couple but I'm not sure if they're relevant to this case.  Can you send me a small example that demonstrates the problem?  I can tell you then whether this is one of them.  My e-mail address is in the footer of the pages of the help file and in the About box in the GUI.

Eric

 

Jan 16, 2012 at 3:55 PM

Hi Eric, my fields magically disappeared (correctly) after a reboot so everything is now working as expected. I'd guess something was cached or locked that prevented the documentation from rebuilding correctly. Who knows. :)

Thanks for your quick response, though!