Saturday, September 01, 2012

 

How to enable Code Analysis in Visual Studio 2010 Professional?

If you only have the Pro version of VS2010, you can use FxCop Integrator or you can Download FxCop 1.36 and add following command into the post-build event:

    "$(ProgramFiles)\Microsoft FxCop 1.36\FxCopCmd.exe" /c /p:"$(ProjectDir)\FxCop$(ConfigurationName).FxCop" /consolexsl:"$(ProgramFiles)\Microsoft FxCop 1.36\Xml\VSConsoleOutput.xsl"





as mentioned here: http://stackoverflow.com/questions/2833608/how-to-enable-code-analysis-in-visual-studio-2010-professional



    

Powered by Blogger