Megosztás a következőn keresztül:


Creating Custom Code Analysis Rule Sets

You apply code analysis rules to a managed code project by specifying a rule set that contains one or more rules. The Microsoft standard rule sets provide groups of rules that are organized by function and depth. For example, the Microsoft Basic Design Guidelines Rules and the Microsoft Extended Design Guidelines Rules contain rules that focus on usability and maintainability issues, with added emphasis on naming rules in the Extended rule set.

You can also create a custom rule set that combines two or more standard rule sets or that specifies rules in one or more standard rule sets. You save custom rule sets to a .ruleset file, and you can specify them in multiple code projects.

In This Section

See Also

Reference

Code analysis rule set reference

Concepts

Analyzing Managed Code Quality by Using Code Analysis

Other Resources

Analyzing C/C++ Code Quality by Using Code Analysis