471,319 Members | 1,831 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,319 software developers and data experts.

Disable XML Document warnings in code.

UJ
Is there any way to disable either the generation or the warnings from the
XML Document generator? I have a couple of public enums which it is saying
need the documentation and to add it would make the code hard to read (the
enum values are pretty self explanatory.)

TIA - Jeff.
Feb 21 '06 #1
3 5806
I know what you are referring to, and yes it is annoying.
Don't think so, it's either "on" or "off". You could always turn
documentation off in the Build property sheet temporarily, and then back on
when you need it.
Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"UJ" wrote:
Is there any way to disable either the generation or the warnings from the
XML Document generator? I have a couple of public enums which it is saying
need the documentation and to add it would make the code hard to read (the
enum values are pretty self explanatory.)

TIA - Jeff.

Feb 22 '06 #2
In article <e0**************@TK2MSFTNGP09.phx.gbl>, fr**@nowhere.com says...
Is there any way to disable either the generation or the warnings from the
XML Document generator? I have a couple of public enums which it is saying
need the documentation and to add it would make the code hard to read (the
enum values are pretty self explanatory.)

TIA - Jeff.


If your using VS2005 try this:

#pragma warning disable 1591
// your enum here
#pragma warning restore 1591

--
Larry Steeger
RusSte, Inc. - http://www.russte.com
Feb 22 '06 #3
UJ
I tried it and unfortunately I'm still in VS2003 and it doesn't work.

Thanks anyway.

"Lawrence R. Steeger" <st*********@yahoo.com> wrote in message
news:MP************************@msnews.microsoft.c om...
In article <e0**************@TK2MSFTNGP09.phx.gbl>, fr**@nowhere.com
says...
Is there any way to disable either the generation or the warnings from
the
XML Document generator? I have a couple of public enums which it is
saying
need the documentation and to add it would make the code hard to read
(the
enum values are pretty self explanatory.)

TIA - Jeff.


If your using VS2005 try this:

#pragma warning disable 1591
// your enum here
#pragma warning restore 1591

--
Larry Steeger
RusSte, Inc. - http://www.russte.com

Feb 22 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

9 posts views Thread by Dennis Allen | last post: by
5 posts views Thread by James Moe | last post: by
3 posts views Thread by Jason Heyes | last post: by
1 post views Thread by Codex Twin | last post: by
reply views Thread by Robert Ladd | last post: by
11 posts views Thread by Ejaz ul Haq | last post: by
5 posts views Thread by Tanja Krammer | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.