C#类库方法摘要未显示在智能感知中 [英] C# Class Library method summaries are not showing in intellisense

查看:79
本文介绍了C#类库方法摘要未显示在智能感知中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我觉得很不言自明

推荐答案

我在这里猜测,但是如果这是您的类库,确保您确实构建了XML文档文件,否则方法摘要将仅在同一程序集中提供。

I'm guessing here, but if this is your class library, you have to make sure you actually build the XML documentation file, otherwise the method summaries will only be available from within the same assembly.

Project Properties-> Build Tab-> Output部分->检查 XML文档文件

Project Properties -> Build Tab -> Output section -> Check "XML documentation file"

很明显,正如Mitchel指出的那样,您也必须导入它,但这通常在添加程序集引用时自动执行(如只要存在)。

Obviously, as Mitchel points out, you have to import it too, but this is generally automatic when you add an assembly reference (as long as it exists).

这篇关于C#类库方法摘要未显示在智能感知中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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