Suppress Warnings for XML comments

SUPPRESS WARNINGS FOR XML COMMENTS

BE shares

Here i will show you, how you can suppress warnings for XML comments after a Visual Studio build.

Background

If you have checked the “XML documentation file” mark in the Visual Studio project settings, a XML file containing all XML comments is created. Additionally you will get a lot of warnings also in designer generated files, because of the missing or wrong XML comments. While sometimes warnings helps us to improve and stabilize our code, getting hundreds of XML comment warnings is just a pain.

Warnings

Missing XML comment for publicly visible type or member …
XML comment on … has a param tag for ‘…’, but there is no parameter by that name
Parameter ‘…’ has no matching param tag in the XML comment for ‘…’ (but other parameters do)

Solution

You can suppress every warning in Visual Studio.

– Right-click the Visual Studio project / Properties / Build…

View original post 12 more words