How to include custom doc-comment elements in Sandcastle Help File?

自闭症网瘾萝莉.ら 提交于 2019-12-11 13:58:32

问题


In C# if I have a method that I add XML documenting, the following will be generated by default:

/// <summary>
/// Does something
/// </summary>
public string SomeValue { get; set; }

I want to add my own doc-comment as follows below which is just fine in VS.NET build:

/// <summary>
/// 
/// </summary>
/// <usage>Required</usage>
public string SomeValue { get; set; }

The problem is I do not see the new <usage> comment values displayed on my output .chm file. I'm pretty new to using Sandcastle so it might be something easy I'm missing, but I didn't see what I was looking for in the documentation.

Does anyone know how to incorporate the <usage> value in my output help file?


回答1:


Supporting Custom tags in Sandcastle is an old article, but might still be relevant or at least point you in the right direction.



来源:https://stackoverflow.com/questions/15486401/how-to-include-custom-doc-comment-elements-in-sandcastle-help-file

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!