Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

How to: View Managed Code Defects

In code analysis, errors, warnings, and messages are reported in the Code Analysis window. The Code Analysis window appears automatically when you run code analysis on a project or solution.

In the Code Analysis window, you can:

  • Choose the warning title.

    Additional information about the warning appears in the Code Analysis window. The line in the source file that fired the warning is displayed and highlighted in the source code editor.

  • Choose the warning id. Warning ids are prefixed by CA and include a four-digit number. For example, CA1234.

    The MSDN Library help topic for the warning is displayed. The help topic contains detailed information about the cause of the warning and includes examples that demonstrate how the warning issue occurs and is resolved.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.