Missing XML comment for publicly visible type or member

前端 未结 16 2340
甜味超标
甜味超标 2020-11-30 17:16

I am getting this warning: \"Missing XML comment for publicly visible type or member\".

How to solve this?

16条回答
  •  天涯浪人
    2020-11-30 17:47

    I know this is a really old thread, but it's the first response on google so I thought I'd add this bit of information:

    This behavior only occurs when the warning level is set to 4 under "Project Properties" -> "Build". Unless you really need that much information you can set it to 3 and you'll get rid of these warnings. Of course, changing the warning level affects more than just comments, so please refer to the documentation if you're unsure what you'll be missing:
    https://msdn.microsoft.com/en-us/library/thxezb7y.aspx

提交回复
热议问题