Visual Studio 禁用缺少 XML 註釋警告 - Visual Studio Disabling Missing XML Comment Warning

問題:

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
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章