Disable Code analysis warnings .NET

Posted by acidzombie24 on Stack Overflow See other posts from Stack Overflow or by acidzombie24
Published on 2010-05-23T02:09:36Z Indexed on 2010/05/23 2:10 UTC
Read the original article Hit count: 271

In visual studios i can run code analysis on my .NET project. I am running basic correctness and have 85 warnings. Which is a little much. Also majority of them are in external code.

How do i disable specific warnings so i can focus on the more important warnings? I tried the below but it does not recognize code analysis warnings. (I first tried w/o the CA)

#pragma warning disable CA1820 CA1065 CA2100

© Stack Overflow or respective owner

Related posts about .NET

Related posts about visual-studio-2010