By Michael Flanakin
@
10:40 AM
::
709 Views
::
.NET
::
Digg it!
Symptoms
When running code analysis from Visual Studio 2005, you receive the following error as the last item in the error list:
Additional code analysis warnings or errors cannot be displayed
Cause
By default, only 200 code analysis warnings and errors are displayed. This is done for performance reasons.
Resolution
NOTE: Rumor has it that VS 2005 SP1 will fix this error; however, I have not tried that, yet.
There are two options to get around this. First, if it iyou can fix the first 200 and re-run code analysis. Obviously, if you want to see the true impact of code analysis to determine where to focus your efforts, this won't really help. So, the best option is to apply a quick and simple registry change to specify how many warnings/errors you'd like to see.
- Start > Run...
- Type regedit, click OK
- Traverse the tree and select the following item: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0\Setup\EDev
- In the right pane, double click the CodeAnalysisErrorListViolationLimit and change the value to the desired number of warnings/errors to display
More Information