Jan
2
Written by:
IOTAP ::-- DotNet Team
1/2/2008 4:19 PM
Visual Studio Team system has a great support for code analysis. For performing code analysis all you have to do is enable Code Analysis from project properties dialog box. You can also check/uncheck the rules you want to verify. When you run code analysis Visual Studio flags of all rule violations and shows them in Error List window. By default visual studio will only show the first 200 errors/warnings arising out of code analysis. This number is very little for even a small sized application. In order to increase the number of errors/warnings shown the registry entry for CodeAnalysisErrorListViolationLimit has to be changed. The registry entry can be found under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0\Setup\EDev\
Set the value to whatever number you want and run code analysis again to see the effect.
Tags: