Monday, January 2, 2012

Get ruleset violation using FxCop

Most of you may wondering, how to analyse and find whether your VS 2008 project having RuleSet violations. You can install FxCop and check whether your compiled project having RuleSet violations.

You can read more about FxCop in below url:

msdn url for FxCop

Steps to follow:

1.Build your VS project using "Release" mode



2.Open Installed FxCop and open new project



3.Set appropriate rules to be use when analysis running




4.Attach your exe in bin folder to "Add target for analysis"



5.Run analysis

6.View results and apply fixes

No comments:

Post a Comment