DCSIMG
VSTS2010 – Code Analysis - Shai Raiten's Blog

Shai Raiten's Blog

It's all about code...

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”.

image

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:

  1. Microsoft.Design
  2. Microsoft.Security

Each Rules Categories contains specific rules.

For example “Microsoft.Design” contains “CA2210 – Assemblies should have valid strong names”.

image

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.

image

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”.

image

Add\Remove Rules Set and Set new “Rule Set”

image

Comments

No Comments

Leave a Comment

(required) 

(required) 

(optional)

(required) 


Enter the numbers above: