This VSPackage allows you to make a FxCop rule violation to be fixed. It extends the ErrorList context menu with a 'Fix It' command.
For now, this package only provides the plumbing between the ErrorItem and an fixing implementation. The fixing implementation itself is not provided and should be written yourself. Though, if enough response, it will be considered to apply fixes for all Microsoft CA rules. The package has an assembly (RecommendedRulesFixes.dll) included which - onnly for demo reasons – implements some CA rules (CA1009, CA1033, CA1305, CA2112, CA1801, CA2200). For more information on usage see http://vsxexperience.net/2011/06/28/extending-fxcop-rules-with-fixing-ability/ |