When running Visual Studio Code Analysis on a project, you may encounter the following error:
CA0503: Additional warnings cannot be displayed.
By default, a maximum of 200 warnings are displayed in the Error List.
This can be increased by modifying the following registry value(s):
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\10.0\Setup\EDev\CodeAnalysisErrorListViolationLimit
HKEY_USERS\.DEFAULT\Software\Microsoft\VisualStudio\10.0_Config\Setup\EDev\CodeAnalysisErrorListViolationLimit
HKEY_USERS\.DEFAULT\Software\Microsoft\VisualStudio\10.0_Config\Setup\EDev\CodeAnalysisErrorListViolationLimit
for older versions it may be here:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0\Setup\EDev\CodeAnalysisErrorListViolationLimit
Microsoft says that 200 is the magic number based on minimum recommended system configuration.
Alternative way is to do it in IDE:
You can configure the maximum number of errors and warnings that appear for your database project. By default, the maximum number is 200 errors and warnings.
To configure the maximum number of errors and warnings
- On the Tools menu, click Options.
- In the tree, expand the Database Tools node, and click Database Errors and Warnings.
- In Maximum errors and warnings to display, type the maximum number of errors and warnings that you want to appear for your database projects.
- Click OK.
No comments:
Post a Comment