Initial Release - SPDisposeCheck Static Analysis

Rating: No reviews yet
Downloads: 2619
Change Set: 35295
Released: Jan 8, 2010
Updated: Apr 10, 2010 by jthake
Dev status: Stable Help Icon

Recommended Download

Application SPDisposeCheckRules-VS2008
application, 4K, uploaded Apr 10, 2010 - 1463 downloads

Other Available Downloads

Application SPDisposeCheckRules-VS2010
application, 4K, uploaded Apr 10, 2010 - 1156 downloads

Release Notes

This is the initial release of just the rules for both VS2008 and VS2010. A sample test harness will be uploaded in the next release.

A readme-VS20xx.txt is available in the zip for relevant version for Visual Studio for installation.

Open Visual Studio and open a SharePoint project.
Right click the project and open the properties dialog

On the Code Analysis tab (bottom tab) check the following boxes:
  • Enable Code Analysis on Build
  • Treat Warning as Error for the SPDisposeCheckRules


Jeremy Thake ( presented at #SPSArabia recently on the integration with SPDisposeCheck in VS2010 and SharePoint Projects.
Click here to view web cast:

A webcast will be published shortly that shows how to integrate this with TFS 2010 Build Code Analysis.

Reviews for this release

No reviews yet for this release.