开发者

C# Class Library method summaries are not showing in intellisense

开发者 https://www.devze.com 2022-12-22 13:35 出处:网络
Fairly self-explanator开发者_如何转开发y I feelI\'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 summarie

Fairly self-explanator开发者_如何转开发y I feel


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号