2

I have a VS2008 solution using xml documentation, and we have warnings as errors turned on for release mode (a nice feature IMHO); this results, however, in long lists of 'missing xml comment' errors for such things as every element of a (self describing) enum.

Does anyone know of an attribute or similar which switches off the requrement for xml comments? Ideally for some delimited area, not just one line (otherwise I could just put empty tags before every item, kind of defeating the purpose...)

Thanks!

Scott Dorman
  • 42,236
  • 12
  • 79
  • 110
Joel in Gö
  • 7,460
  • 9
  • 47
  • 77

1 Answers1

5

Use #pragma warning disable.

More info here: http://msdn.microsoft.com/en-us/library/441722ys(VS.80).aspx

leppie
  • 115,091
  • 17
  • 196
  • 297