0
Answer

Cannot enable Visual Studio Code Analysis

Ask a question
ronakster

ronakster

15y
3.1k
1
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