I am using Sandcastle Help File Builder to build the documentation for a VB.net project but the documentation for the asp.net/html elements are not appearing.
The xml comments for these are defined in the .ascx.designer.vb file for the respective Web Form or Web Forms User Control. An example of this code is as follows:
Partial Public Class WebUserControl
'''<summary>
'''TblsDiv control.
'''</summary>
'''<remarks>
'''Auto-generated field.
'''To modify move field declaration from designer file to code-behind file.
'''</remarks>
Protected WithEvents TblsDiv As Global.System.Web.UI.HtmlControls.HtmlGenericControl
End Class
In the help file created by Sandcastle Help File Builder, the documentation for these elements appear blank as if there were no xml comments.
Is this an issue with Sandcastle Help File Builder or is there another way to add xml comments to the respective html/asp.net elements?
After doing some research the only thing I have found was a very old answer Protected Withevents not documenting properly of the developer of SHFB from the year 2007.
But it seems to me this is a problem remaining today.
Please note I'm not a ASP.net developer and I can test this using Visual Studio Community 2015 and Sandcastle Help File Builder (SHFB) Version 2019.15.9.0 at this stage only.
My code snippet for testing in a
WebUserControl1.ascx.vb:Building the solution is resulting in a file
WebForms_Basic.xmlI added as a documentation source in SHFB's project explorer.Building help file - you know - is resulting in:
Editing the following line in
WebForms_Basic.xmland building the help files without building the solutionis resulting in what you expected. You need to adapt this for your needs.