Missing XML comment for publicly visible type or member

前端 未结 16 2286
甜味超标
甜味超标 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:25

    Jon Skeet's answer works great for when you're building with VisualStudio. However, if you're building the sln via the command line (in my case it was via Ant) then you may find that msbuild ignores the sln supression requests.

    Adding this to the msbuild command line solved the problem for me:

    /p:NoWarn=1591
    

提交回复
热议问题