XML Documentation Tags Problemo

C

C# Learner

I've made a class library containing a static method.

This method is documented with XML-type comments:

/// <summary>
/// Foobar.
/// </summary>
public static string[] FooBar()
{
// etc...
}

In another project, I reference the release DLL built from the class
library project, and I can't see the documentation comment in the method
info tooltip. It shows the method name, parameters and return type, but
no documentation comment.

Am I doing something wrong?
 
B

Bob Powell [MVP]

C

C# Learner

Bob said:
Does the release build configuration specify a path to generate the XML file
to? Is the path pointing at the release directory?

Thanks! Got it working now from that.

Had to set "XML Documentation File" to "bin\Release\ProjectName.xml" in
project properties dialog.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top