How to: Run Code Analysis Manually on C/C++ Projects

The code analysis tool provides information to you about possible defects in source code. You can run code analysis manually, and you can also run code analysis automatically with each build. For more information about how to configure automatic code analysis, see How to: Enable and Disable Automatic Code Analysis for C/C++.

To run code analysis manually

  • On the Analyze menu, click Run Code Analysis on Only ProjectName.