.net 使用指向方法';XML文档中的参数导致SandCastle生成的帮助文件中的链接断开

.net 使用指向方法';XML文档中的参数导致SandCastle生成的帮助文件中的链接断开,.net,xml,documentation,sandcastle,.net,Xml,Documentation,Sandcastle,当指向方法的参数时,我在正确解析标记中的链接时遇到问题 以下是一个例子: <summary> My method. </summary> <param name="arg1">Arg1</param> <param name="arg2">Arg2</param> <exception cref="ArgumentNullException">Either <see cref="arg1"/> or

指向方法的参数时,我在正确解析
标记中的链接时遇到问题

以下是一个例子:

<summary>
My method.
</summary>
<param name="arg1">Arg1</param>
<param name="arg2">Arg2</param>
<exception cref="ArgumentNullException">Either <see cref="arg1"/>
or <see cref="arg2"/> is <c>null</c></exception>
public void MyMethod(object arg1, object arg2)
{
  // code here...
}
毕竟,输出帮助文件包含到arg1和arg2的断开链接

有人知道如何解决此问题吗?

此标记不用于引用参数。请改用。

该标记不用于引用参数。改为使用。

有效:)但我有另一个非常类似的问题:
也编译为
字符串类(不是C数据类型)以大写字母S开头。因此它应该是或更好。对于True、False、Null和其他关键字,请使用。我使用的是VSdocman,但我相信Sandcastle也知道langword属性。它可以工作:)但我有另一个非常类似的问题:
也编译到
字符串类(不是C数据类型)以大写字母S开头。所以它应该是,甚至更好。对于真、假、空和其他关键字使用。我使用的是VSdocman,但我相信Sandcastle也知道langword属性。
<see cref="!:arg1"/>
<see cref="!:arg2"/>
Warn: ResolveReferenceLinksComponent2: Unknown reference link target '!:arg1'
Warn: ResolveReferenceLinksComponent2: Invalid reference link target '!:arg1'
Warn: ResolveReferenceLinksComponent2: Unknown reference link target '!:arg2'
Warn: ResolveReferenceLinksComponent2: Invalid reference link target '!:arg2'