簡體   English   中英

參考文件的XML注釋

[英]XML comment with reference to file

我想將對文件的引用添加到類的xml注釋中。 我可以這樣做:

/// <summary>
/// Condition with the content of the text <a href="file:///d:/a.jpg">file</a>
/// </summary>

如何使用文件的相對路徑?

在沙堡中,路徑相對於工作文件夾(在設置中設置的輸出路徑下的.\\Working文件夾)。 要指定相對於您的項目的路徑,請在其{@ProjectFolder}加上{@ProjectFolder} 例如:

<a href="{@ProjectFolder}/a.jpg">File</a>

您可以在此處找到此類替換標簽的完整列表:

自定義構建過程-替換標簽


您是否知道可以在文檔標簽中用href替換cref

<see href="http://www.example.com/">Example</see>

<seealso href="http://www.example.com/">Example</seealso>

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM