We recommend using Visual Studio 2017
This documentation is archived and is not being maintained.

Troubleshooting Code Analysis Issues

This topic contains troubleshooting information for the following Visual Studio code analysis issues.

When you create a rule set in Visual Studio 2010 that contains a child rule set, a change to the child rule set might not be applied in code analysis runs on computers that use an earlier version of Visual Studio. To resolve this issue, you must force a rewrite of the parent rule set, that is the rule set that contains the child rule set.

  1. Open the parent rule set in Visual Studio 2010.

  2. Make a change, such as adding or removing a rule, and then save the rule set.

  3. Reopen the rule set, reverse the change, and then save the rule set again.