Introduction: SPDisposeCheck is a tool used by SharePoint Developers to check the custom SharePoint solutions that use the SharePoint Object Model for proper memory leaks. For more information on Disposing Objects in SharePoint Object Model you can refer http://msdn.microsoft.com/en-us/library/ee557362.aspx . In this article we will be seeing how to use SharePoint Dispose Check tool in Visual Studio 2010. SharePoint Dispose Check tool in Visual Studio 2010: When you install SharePoint Dispose Check, there will be some default options to select so that Visual Studio 2010 AddIn will be installed. Default Options for SPDisposeCheck Visual Studio AddIn
When you use Visual Studio 2010 you could be able to see SPDisposeCheck AddIn. Go to tools menu you could be able to see the SPDisposeCheck AddIn as shown in the following. How to use it:
When you install SharePoint Dispose Check, if you have not selected any default options for SPDisposeCheck Visual Studio AddIn, you can use command window. Go to Start => Run =>Type as cmd. In the Command window type the following command "C:\Program Files (x86)\Microsoft\SharePoint Dispose Check\SPDisposeCheck.exe" "E:\Vijai\RND\RND\bin\Debug\RND.exe" –debug Error messages can be seen as shown in the following
You can manually add SharePoint Dispose Check tool to the tools menu in Visual Studio 2010. Steps Involved:
You need to be a premium member to use this feature. To access it, you'll have to upgrade your membership.
Become a sharper developer and jumpstart your career.
$0
$
. 00
monthly
For Basic members:
$20
For Premium members:
$45
For Elite members: