Initial Release - SPDisposeCheck Static Analysis

Rating: No reviews yet
Downloads: 2609
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 - 1455 downloads

Other Available Downloads

Application SPDisposeCheckRules-VS2010
application, 4K, uploaded Apr 10, 2010 - 1154 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

Screenshot

Jeremy Thake (http://www.twitter.com/jthake) presented at #SPSArabia recently on the integration with SPDisposeCheck in VS2010 and SharePoint Projects.
Click here to view web cast: http://wss.made4the.net/archive/2010/04/07/my-sharepoint-2010-development-with-tfs-2010-webcast-is-available.aspx

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.