Using SPDisposeCheck with Continuous Integration

The new version of SPDisposeCheck is out and works for SharePoint 2010. If you’ve never used this tool, it scans your .NET assemblies to ensure that any SharePoint objects you are using are properly disposed of and will not introduce memory leaks. If you haven’t read it, Roger Lamb’s blog post about Dispose patterns is great.

In addition, the xml output option is working very nicely. This makes integrating this tool into your build environment very easy. I’ve created a simple xsl file that you can use to transform the xml file into something ready to show on your build portal.

Leave a Reply

Name *
Email *