XML comments don't show up when referencing DLL
-
If i create a library, and comment all public and protected members. With the XML comments in C#. Then the comments nicely pop up when im coding in other classes, or projects within the same solution that holds the project with the commented class. But, when I now take the DLL, and reference not by project (not adding the project to my new solution), but by file reference, like how you would any third-party dll, the comments don't show up. How do I tell the compiler to compile the xml comments into the dll. Or what do I have to do? Thanks, Kris.
-
If i create a library, and comment all public and protected members. With the XML comments in C#. Then the comments nicely pop up when im coding in other classes, or projects within the same solution that holds the project with the commented class. But, when I now take the DLL, and reference not by project (not adding the project to my new solution), but by file reference, like how you would any third-party dll, the comments don't show up. How do I tell the compiler to compile the xml comments into the dll. Or what do I have to do? Thanks, Kris.
The XML document that contains the comments must be in the same directory as the assembly you're referencing.
Microsoft MVP, Visual C# My Articles