SharePoint Dispose Checker Tool

The Microsoft SharePoint team have released a SharePoint disposal checker tool to the MSDN community. This command line tool scans individual asseblies, or entire directory structures and analyses the code for memory leaks through poor disposal.

I ran it against some of my assemblies and I’m happy to say only my quick command line tools written for testing exposed any poor disposal issues.. (Mainly because I don’t bother worrying about disposal when I’m just testing constructs..)

The project site can be found here with further links to the team behind the tool.

http://code.msdn.microsoft.com/SPDisposeCheck

Reg.

Leave a Reply

Your email address will not be published.

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.