C# Class Library method summaries are not showing in intellisense

梦想与她 提交于 2019-12-04 05:05:47

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 section -> Check "XML documentation file"

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).

When you build the class library, be sure to put the .xml file that has the documentation in the same folder as the .dll. Intellisense will then pick this up.

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