I've developed a code library which I have spent time documenting thoroughly.
The classes, methods and properties are comment using the triple-slash XML (xmldoc) comments.
/// <summary>
/// Adds two numbers together.
/// </summary>
/// <param name="a">The first number.</param>
/// <param name="b">The second number.</param>
/// <returns>The sum.</returns>
public int Add(int a, int b)
{
return a + b;
}
But when I compile this into a DLL file and reference it from my other project, or package it as a NuGet package that I reference, then Visual Studio / IntelliSense does not provide any documentation for my library.
Why is this, and what can I do about this?