Disable XML Document warnings in code.

  • Thread starter Thread starter UJ
  • Start date Start date
U

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.
 
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
 
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
 
Back
Top