問題:
I have a project with over 500 Missing XML Comment
warnings.我有一個項目有 500 多個Missing XML Comment
警告。 I know I can remove the XML Comment feature, or paste empty comment snippets everywhere, but I'd prefer a generic solution where I can make one change that disables all warnings of this type.我知道我可以刪除 XML 註釋功能,或在任何地方粘貼空註釋片段,但我更喜歡通用解決方案,我可以在其中進行一項更改以禁用所有此類警告。
What I do just now is putting我現在做的是把
///<Summary>
///
///</Summary>
or或者
#pragma warning disable 1591
was just curious if it would be possible.只是好奇是否有可能。
解決方案:
參考一: https://stackoom.com/question/XUcP參考二: Visual Studio Disabling Missing XML Comment Warning