/analyze flag in Visual Studio 2010 Professional

Posted by Martin on Stack Overflow See other posts from Stack Overflow or by Martin
Published on 2010-05-12T10:30:46Z Indexed on 2010/05/12 10:34 UTC
Read the original article Hit count: 441

Running Visual Studio 2008 Professional it is possible to enable static code analysis using the /analyze flag (even though this is not supported for the Professional version according to the documentation).

In Visual Studio 2010 Professional this no longer works. Instead there is a default /analyze- flag added (one I can't find a GUI setting for). This does not work as well as the VS2008 version (or at all).

Can anyone shed some light into this? What does the new /analyze- flag do and is there any way to enable the old analysis?

© Stack Overflow or respective owner

Related posts about code-analysis

Related posts about visual