I'm using Visual Studio 2015 and working in C#. I want to suppress compilation warnings for the warning type CA1303, so I've set this in project Properties -> Build -> Suppress Warnings:
However, after cleaning the project and building again, I can still see the warnings of this type in the Error List. Do I need to do anything else to suppress warnings of a particular type?
The "CA" prefix indicates that this is a code analysis warning, not a compiler warning (which, for C#, have a "CS" prefix). So you are looking in the wrong place :)
On the top right of the ruleset window search for CA1303 and you can toggle it on and off there.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With