ronakster

ronakster

  • NA
  • 1
  • 3.4k

Cannot enable Visual Studio Code Analysis

Jul 23 2009 1:45 PM
Hello All,

I want to enable the in-built Visual Studio Code Analysis Tool. I found an article on MSDN saying:
How to: Enable and Disable Code Analysis for Managed Code

The code analysis feature for managed code checks assemblies for conformance to the Microsoft .NET Framework Design Guidelines.

To enable code analysis for managed code

  1. Select a project in Solution Explorer.

  2. On the Project menu, click <project name> Properties.

  3. Click Code Analysis.

  4. Select Enable Code Analysis on Build (defines CODE_ANALYSIS constant).

But I do not see the Code Analysis Option on the Project Properties.
If anyone has faced this problem and has a fix please reply.

Thanks