SPDisposeCheck tool finally released – get your code straight!

UPDATE 2015:

Please be adviced that as of SharePoint 2013, the SPDisposeChecker and MSOCAF tools doesn’t correctly report disposal errors.
The only tool available on the market at the point of writing this update (2015-07-28), is SPCAF.

You probably want to read this: STOP using SPDisposeCheck or MSOCAF with SharePoint 2013 NOW!

You might have heard it before, a tool called SPDisposeCheck was to be released – a tool which will help you (though, not make it perfect..) on your way with finding memoryleaks in certain API objects (e.g. SPWeb, SPSite..) MSDN Code now have officially published this tool, and it can be read about and downloaded here I’m not going to re-author a long post about this tool, so I’m simply hooking up some previous posts about the tool. Have fun with it!

Download & information from MSDN code: http://code.msdn.microsoft.com/SPDisposeCheck

[2008] Announcements from Microsoft Team Blog
http://blogs.msdn.com/sharepoint/archive/2008/11/12/announcing-spdisposecheck-tool-for-sharepoint-developers.aspx

About Tobias Zimmergren

Hi, I'm Tobias. I plan, architect and develop software and distributed cloud services. Nice to meet you!

Comments