Prexens team dev' corner

SPDisposeCheck (SharePoint Dispose Checker Tool) helps you to follow "Best Practices: Using Disposable Windows SharePoint Services Objects"

Quick description of the tool (abstract from Microsoft SharePoint Team Blog)
 
 
SPDisposeCheck v1.3.1 has been released on MSDN Code Gallery, http://code.msdn.microsoft.com/SPDisposeCheck.  This tool will help improve the quality of your SharePoint assemblies.  It will inspect your SharePoint assemblies and check that you are correctly disposing of certain SharePoint objects (IDisposable objects which includes SPSite and SPWeb).  The tool is based upon the guidance published in this MSDN article, Best Practices: Using Disposable Windows SharePoint Services Objects
 
This tool is not supported by Microsoft and is recommended to be used on Developer workstations and not on production SharePoint Server installations.  For additional information, please head over to Paul Andrew's blog post.
 
How to use it
  1. Install SPDisposeCheck.msi on your development server.
  2. Open a command window.
  3. Type following command:
    "c:\Program Files\Microsoft\SharePoint Dispose Check\SPDisposeCheck.exe" <path to assemblies> -debug

Comments

No comments yet for this post.

Add a new comment

Please  [ Sign in ] to add a new comment
Categories
Links
  Prexens Web Site
  Charting for SharePoint
  Charting for SharePoint (Codeplex)
  Charting for SharePoint Starter kit

Microsoft Certified Partner