/// <summary>

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have an extended class in a dll and have put summaries for each method like this
/// <summary>
/// Removes all occurences of a given object.
/// </summary>

The problem is that when I see my methods in the intellisense, the summary shows up only within the namespace and if I use my classes and methods in other projects, I don’t see my summaries, only the summaries of the base class which is a .NET original class. How come?
 
Is your assembly in the GAC?

--
Floyd Burger

Sam said:
I have an extended class in a dll and have put summaries for each method like this
/// <summary>
/// Removes all occurences of a given object.
/// </summary>

The problem is that when I see my methods in the intellisense, the summary
shows up only within the namespace and if I use my classes and methods in
other projects, I don't see my summaries, only the summaries of the base
class which is a .NET original class. How come?
 
No, but the source files are in the same solution. I have one solution and 2 C# projects within that solution.

One is an exe project and the other is a dll project. In the exe project when I use my classes of the dll project, I do see my methods and everything but no summaries in the intellisense! But in the dll projet itself I see the summaries in the intellisense!
 
Sam said:
I have an extended class in a dll and have put summaries for each method like this
/// <summary>
/// Removes all occurences of a given object.
/// </summary>

The problem is that when I see my methods in the intellisense, the summary shows up only within the namespace and if I use my classes and methods in other projects, I don’t see my summaries, only the summaries of the base class which is a .NET original class. How come?

IN the VS.NET properties for the dll's project, give the field for the
"XML Documentation File" the same name as your dll, but with an XML
extension. Make sure that that XML documentation file is in the same
directory as the dll that is referenced in your other projects.

See the documentation for the csc C# compiler's /doc option.
 
Back
Top