XML multiline comments in C# - what am I doing wrong?

Posted by Dave on Stack Overflow See other posts from Stack Overflow or by Dave
Published on 2010-03-30T17:43:16Z Indexed on 2010/03/30 17:53 UTC
Read the original article Hit count: 267

According to this article, it's possible to get multiline XML comments -- instead of using ///, use /** */. This is my interpretation of what multiline comments are, and what I want to have happen:

/**
 * <summary>
 * this comment is on line 1 in the tooltip
 * this comment is on line 2 in the tooltip
 * </summary>
 */

However, when I use this form, the tooltip that pops up when I hover over my class name in my code is single-line, i.e. it looks exactly as if I had written my comment like this:

/// <summary>
/// this comment is on line 1 in the tooltip
/// this comment is on line 2 in the tooltip
/// </summary>

Is this behavior actually possible still in VS2008?

© Stack Overflow or respective owner

Related posts about visual-studio-2008

Related posts about xml-comments