Pages

Showing posts with label Code Analysis. Show all posts
Showing posts with label Code Analysis. Show all posts

Ignore CA1405: COM visible type base types should be COM visible

CA1405: COM visible type base types should be COM visible : A COM-visible type derives from a type that is not COM-visible.
ComVisible(true) is on by default through the compiler. Ignore this warning. 
If we really need ComVisible(true), then we need to set that in assembly properties. We can remove this from the Microsoft Minimum Ruleset and customize it.