This project is read-only.
Project Description
SPDisposeCheck Static Analysis Ruleset allows SharePoint architects and developers to ensure SharePoint APIs are properly disposed using static analysis. It supports both VS2008 and VS2010 projects.

Requires the SPDisposeCheck.exe utility
The install can be downloaded here

Setup Steps
  1. Copy SPDisposeCheckRules.dll to local static analysis rules folder example: C:\Program Files\Microsoft Visual Studio 9.0\Team Tools\Static Analysis Tools\FxCop\Rules
  2. Copy SPDisposeCheck.exe to local static analysis rules folder
  3. please ensure that you right click on the two files and select Properties and ensure the files are "Unblocked" otherwise they will not show up in the Code Analysis Ruleset editor as an option

New SPDisposeCheck Rules will be available for SharePoint projects in Project Properties>Code Analysis

Last edited Feb 1, 2012 at 4:26 PM by jthake, version 5