Code Analysis Policy Errors

The following errors occur if the code analysis policy is not satisfied at check-in:

Note

Evaluation of code analysis policy requires that Visual Studio Team System 2008 Development Edition or Visual Studio Team System 2008 be installed.

One or more projects do not have an up-to-date build. Double-click this message for more information.

Either the build contains errors or the errors were fixed, but code analysis was not performed after the fix.

The Code Analysis Policy requires files to be checked in through Visual Studio with an open solution.

The code analysis policy requires that all files being checked in must be in the currently open solution. To correct this error, open the solution that contains the file to be checked in.

Some of the items in the pending check-in list are not located in the solution that you have open. Double-click this message for more information.

The code analysis policy requires that all files being checked in must be in the currently open solution. This error is raised when there is an open solution, but some files in the "pending check in" view are not part of the currently opened solution. To correct this error, open the solution that contains the file to be checked in.

The code analysis settings for one or more projects are not compatible with code analysis policy. Double-click this message for more information.

Either code analysis is not enabled or the managed code rules settings are not as strict as the policy requires. To correct this error, make the client setting at least as strict as the policy requirement on the server.

  • Evaluation of Code Analysis Policy requires Visual Studio Team System 2008 Development Edition or Visual Studio Team System 2008 Team Suite to be installed.

    To evaluate code analysis policy, either Visual Studio Team System 2008 Development Edition or Visual Studio Team System 2008 Team Suite must be installed. Code analysis components must be installed from Visual Studio Team System 2008 Development Edition or Visual Studio Team System 2008 Team Suite during setup.

See Also

Other Resources

Code Analysis Errors