By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
425,719 Members | 1,036 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 425,719 IT Pros & Developers. It's quick & easy.

Disable XML Document warnings in code.

P: n/a
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
Share this Question
Share on Google+
3 Replies


P: n/a
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

P: n/a
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

P: n/a
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.