Disabling Missing XML Comment Warnings

Related Posts

Categories: Visual Studio

Possible solutions to disable missing comment warnings in Visual Studio:

  • Suppress the warning by changing the project settings => Build tab => Errors and warnings => Suppress warnings by entering 1591
  • Uncheck the "XML documentation file" checkbox in project settings => Build tab => Output
  • Suppress the warning via compiler options, in beginning of file: #pragma warning disable 1591 and at end of file: #pragma warning restore 1591
  • Use GhostDoc
  • Add an empty comment :) ///<Summary></Summary>