It's easy just use the XML compliant <br /> and <p /> (<para />)
instead!

> -----Original Message-----
> From: Jeff Varszegi [mailto:[EMAIL PROTECTED] 
> Sent: Saturday, 25 October 2003 12:29 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [ADVANCED-DOTNET] How to create an enumeration 
> that exposes formats
> 
> 
> One thing I've found is that the IDE doesn't like it when you 
> use HTML tags like <br> that don't have a closing tag.  In 
> certain situations, especially mixing sections using <para> 
> with sections that have no enclosing <para> tags, the IDE 
> seems to get confused and just quietly abort the generation 
> of XML documentation for the element in question.  As a 
> troubleshooting step, try removing all extra tags, leaving 
> just the <summary> tags and the text, then adding things 
> back. Just a thought-- I don't even know if you have lots of 
> extra stuff in there or not.
> 
> Jeff
> 
> --- Ed Stegman <[EMAIL PROTECTED]> wrote:
> > It works here (v1.1). Perhaps you neglected to set the 
> XmlDocumentFile 
> > value in the project properties before building the 
> assembly where the 
> > enum is declared?
> >
> > Keep Smilin'
> > Ed Stegman
> >
> >
> > -----Original Message-----
> > From: Moderated discussion of advanced .NET topics. 
> > [mailto:[EMAIL PROTECTED] Behalf Of 
> Bill Bassler
> > Sent: Thursday, October 23, 2003 6:39 AM
> > To: [EMAIL PROTECTED]
> > Subject: Re: How to create an enumeration that exposes formats
> >
> >
> > I assumed I couldn't do what I wanted as far as available 
> characters 
> > for identifiers.  Thanks for confirming it.
> >
> > Regarding ...
> > If the goal is simply to get the text of your choosing to appear in 
> > IntelliSense, wouldn't it make more sense to use the XML 
> documentation 
> > to do this?  E.g.
> >
> > public enum DateTimeFormats
> > {
> >   /// <summary>MM/dd/yyyy HH:mm:ss</summary>
> >   MonthDayYearTime,
> >
> >   ... etc.
> > }
> >
> > Unless I'm missing something ... it appears that <summary> 
> doesn't pop 
> > a ToolTip in the VS.Net IDE for when used as above. It 
> simply displays
> > the
> > type specifier as usual if you mouse over the enum type. Of course
> > when you
> > enter a "." after the enum type name you also get a list of 
> the named
> > constants.
> >
> > The <summary> tag certainly works in the manner you describe for 
> > classes and methods.
> >
> > ===================================
> > This list is hosted by DevelopMentor(r)  http://www.develop.com NEW!

> > ASP.NET courses you may be interested in:
> >
> > 2 Days of ASP.NET, 29 Sept 2003, in Redmond 
> > http://www.develop.com/courses/2daspdotnet
> >
> > Guerrilla ASP.NET, 13 Oct 2003, in Boston 
> > http://www.develop.com/courses/gaspdotnet
> >
> > View archives and manage your subscription(s) at 
> > http://discuss.develop.com
> >
> > ===================================
> > This list is hosted by DevelopMentor(r)  http://www.develop.com NEW!

> > ASP.NET courses you may be interested in:
> >
> > 2 Days of ASP.NET, 29 Sept 2003, in Redmond 
> > http://www.develop.com/courses/2daspdotnet
> >
> > Guerrilla ASP.NET, 13 Oct 2003, in Boston 
> > http://www.develop.com/courses/gaspdotnet
> >
> > View archives and manage your subscription(s) at 
> > http://discuss.develop.com
> 
> ===================================
> This list is hosted by DevelopMentor(r)  http://www.develop.com 
> NEW! ASP.NET courses you may be interested in:
> 
> 2 Days of ASP.NET, 29 Sept 2003, in Redmond 
> http://www.develop.com/courses/2daspdotnet
> 
> Guerrilla 
> ASP.NET, 13 Oct 2003, in Boston 
> http://www.develop.com/courses/gaspdotnet
> 
> View archives and 
> manage your subscription(s) at http://discuss.develop.com
> 

===================================
This list is hosted by DevelopMentorŪ  http://www.develop.com
NEW! ASP.NET courses you may be interested in:

2 Days of ASP.NET, 29 Sept 2003, in Redmond
http://www.develop.com/courses/2daspdotnet

Guerrilla ASP.NET, 13 Oct 2003, in Boston
http://www.develop.com/courses/gaspdotnet

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to