概述并不表示该组件,如果它被添加作为参考 [英] Summary is not showing in the assembly if it is added as a reference

查看:97
本文介绍了概述并不表示该组件,如果它被添加作为参考的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建了一个类库在C#中,其中有许多功能与总结(XML文档注释)。

I've created a 'Class Library' in C#, which has many functions with summary (XML documentation comments).

例如

///<summary>
///Adds the two numbres
///</summary>
public void Add()
{
    //statements
}

如果我使用的功能在同一个命名空间,其显示的摘要,但如果我增加一条,作为参考一些ohter工作区(解决方案),它没有显示的摘要。

if i use the function in the same namespace , its showing the summary, but if i added it as reference in some ohter workspace(solution) its not showing the summary.

如何使其可见我其他的解决方案,如果增加一条,作为一个参考,并笏可能是这个原因?

How to make it visible i other solutions if a added it as a reference, and wat may be the reason for this?

推荐答案

您需要生成XML文档的组件(一个文件名为myassembly.xml),并将其复制旁边您的.dll那里它是由您的其他项目引用。请参见此页面MSDN 的说明。

You need to generate XML documentation for the assembly (a file named myassembly.xml) and copy it alongside your .dll where it's referenced by your other projects. See this page in MSDN for instructions.

这篇关于概述并不表示该组件,如果它被添加作为参考的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆