XML comments in NuGet package

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

Upvotes: 2

Views: 781

Answers (1)

Matt Ward
Matt Ward

Reputation: 47917

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.

Upvotes: 2

Related Questions