VSTS2010 – Code Analysis
VSTS2010 – Code Analysis
The VSTS beta is out with many many great changes and new features.
The post today is about Code Analysis new features to help us writing more clear and safe code.
The “Code Analysis” window has been change to work with “Rule Set”.

A “Rule Set” is a collection of Rules categories and rules.
For Example:
“Microsoft Security Rules” is a Rule Set, it contains two Rules Categories:
- Microsoft.Design
- Microsoft.Security
Each Rules Categories contains specific rules.
For example “Microsoft.Design” contains “CA2210 – Assemblies should have valid strong names”.
Team System comes with couple of default “Rule Sets”, If you don’t familiar with Analysis rules or you don’t have enough to investigate you can select your by “Rule Set”.
Each “Rule Set” comes with description to help you decide which rules are fit for you.
You also can open the “Rule Set” and customize it.
The new window allows you to search specific rule, filter by rule action, change rules action and of course create you own “Rule Set”.
Add\Remove Rules Set and Set new “Rule Set”
