Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
519 views

I've seen various questions here on SO involving Microsoft's XML documentation tags, but I'm having trouble adding some example code: /// <summary>Return the oldest acceptable timestamp for a ...
Jon Cage's user avatar
  • 37.8k
1 vote
3 answers
349 views

When I type some Class, e.g. Console, then press ctrl+space and intellisense show hint "Class System.Console Represents standart input, output and error streams...." How programmatically get this text....
user362315's user avatar
2 votes
2 answers
418 views

Me: I'm a relative new-comer to the .NET platform. Problem In Java, you can add package level documentation to your project by creating a package-info.java or package.html file and storing in the ...
Elijah's user avatar
  • 13.7k
6 votes
1 answer
3k views

I'm using Sandcastle 2.4.10520 and Sandcastle Help File Builder 1.8.0 to generate a .chm help file. In my documentation, I'm using <see> tags. If I try to refer an enum like <see cref="...
brickner's user avatar
  • 6,585
0 votes
3 answers
139 views

I've been writing a lot of VC++ 2008 / CLI software recently and am using the C#/CLI style documentation: /// <summary> /// Function the does stuff /// </summary> /// <param name="...
Jon Cage's user avatar
  • 37.8k
7 votes
2 answers
3k views

I ran into this dilemma when working on an ASP.net web application using Web Client Software Factory(WCSF) in C#, and the same could apply to other platform and languages. My situation is like this: ...
hongliang's user avatar
  • 615
5 votes
1 answer
769 views

In my .NET XML comments on methods and classes, I try to provide usage examples in <example><code></code></example> blocks. When I use Sandcastle to generate a .chm ...
Sarah Vessels's user avatar
12 votes
2 answers
4k views

I am using xsd.exe to generate a C# class from a collection of xsd files. The xsd file makes use of the <xsd:documentation> tag to include useful descriptions. Example: <xsd:complexType ...
Jim McKeeth's user avatar
  • 38.8k
1 vote
1 answer
422 views

I fired up Sandcastle Help File Builder today to generate documentation for my solution, which has around a dozen projects in it. Since I only want to generate documentation for, and run Sandcastle ...
Mike K's user avatar
  • 1,313
29 votes
6 answers
39k views

When it comes to documenting the structure of XML files... One of my co-workers does it in a Word table. Another pastes the elements into a Word document with comments like this: <...
joe's user avatar
  • 17.6k
48 votes
1 answer
13k views

/// <summary> /// This method does something... /// </summary> public void DoSomething() { // code... } When using that method/class etc... in a different .dll the comments do not ...
Finglas's user avatar
  • 15.8k
0 votes
1 answer
306 views

I have some XML files and schemas that I would like to document. Everything for this project is documented using NetBeans UML models, Microsoft Word documents, Microsoft Excel spreadsheets, and ...
Thomas Owens's user avatar
35 votes
2 answers
5k views

If I have these two methods public Foo Get(string bar) { ... } public Foo Get(int bar) { ... } And write this piece of xml documentation on a different method /// <summary> /// Has a close ...
Svish's user avatar
  • 159k
5 votes
1 answer
1k views

I am using Visual Studio 2005 (VS.8.0) and I am looking to enforce the requirement that all class members, not just the public ones, be documented. While trivial to setup Visual Studio to generate ...
David Beckman's user avatar
1 vote
1 answer
323 views

This question is similar to Getting Emacs fill-paragraph to play nice with javadoc-like comments, but for C#. I have comments like this: /// <summary> /// Of these Colonies, and ought to fall ...
Cheeso's user avatar
  • 193k
106 votes
9 answers
37k views

Are there automatic ways to sync comments between an interface and its implementation? I'm currently documenting them both and wouldn't like to manually keep them in sync. UPDATE: Consider this code: ...
Valentin V's user avatar
  • 25.9k
2 votes
1 answer
1k views

I've been attempting to fully document all types, methods, properties, etc. of a class library using XML comments but have run into a curious effect involving the cref attribute (used by see tags for ...
Noldorin's user avatar
  • 148k
7 votes
4 answers
3k views

I am documenting an assembly using XML Documentation Comments, from which a chm file will be created using Sandcastle. My assembly contains various interfaces, each of which is implemented by one ...
Richard Ev's user avatar
  • 54.3k
87 votes
1 answer
22k views

<see cref="switch" />, for example, doesn't work - I get the compilation warning: XML comment on ... has syntactically incorrect cref attribute 'switch' Context for those who are interested... /...
Daniel Schaffer's user avatar
19 votes
4 answers
14k views

When using an external assembly which comes with an XML documentation file, how do I get visual studio to find it? When having an XML documentation file, is there a program or xml transform file or ...
Svish's user avatar
  • 159k
20 votes
6 answers
3k views

I'm using xml comments to document public as well as internal and private members of my components. I would like to package the generated documentation xml files with component assemblies in order to ...
liggett78's user avatar
  • 11.4k
266 votes
8 answers
81k views

When writing xml documentation you can use <see cref="something">something</see>, which works of course. But how do you reference a class or a method with generic types? public class ...
Svish's user avatar
  • 159k
25 votes
3 answers
9k views

I see in MSDN links such as "CompareOrdinal Overloads". How can I write such a link in C#? I tried: <seealso cref="MyMethod">MyMethod Overloads</seealso> But the compiler gives me a ...
Hosam Aly's user avatar
  • 42.6k
21 votes
7 answers
25k views

I have always made a point of writing nice code comments for classes and methods with the C# xml syntax. I always expected to easily be able to export them later on. Today I actually have to do so, ...
Daren Thomas's user avatar
  • 70.8k

1
4 5 6 7
8