How do I publish the xml-comments with my assemblies in a NuGet Package so that consumers can see class / method comments?

有帮助吗?

解决方案

You should be able to add the xml files to the NuGet package alongside your assemblies. Then these comments should be found by Visual Studio and displayed in its intellisense windows.

One example NuGet package that does this is AvalonEdit.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top