|
The SharePoint Dispose Checker Tool 32-bit operating system: C:\Program Files\Microsoft\SharePoint Dispose Check 64-bit operating system: C:\Program Files (x86)\Microsoft\SharePoint Dispose Check Visual Studio Tools menuYou can get this setup so that it is available in all your Visual Studio Projects by following these simple steps.
Selecting it will execute the checker and output results in Output window as shown below.
Visual Studio Project Build TargetsYou can also edit your .proj file in XML editor and modify the AfterBuild target to include a call to this: <Target Name="AfterBuild"> <Exec Command='"C:\Program Files\Microsoft\SharePoint Dispose Check\SPDisposeCheck.exe" "$(TargetPath)"' /> </Target> Visual Studio Build IntegrationThere is a CodePlex project called spDisposeCheckEx
Hopefully there won't be too much bad news that it reports! Labels |
How to integrate SP Dispose Check into Visual Studio Solutions

This work is licensed under a Creative Commons Attribution-Share Alike 3.0 Unported License. Hosted generously by CustomWare












Comments (1)
Jul 21
GothorMontero says:
thanks for the writing it helps me to do my writer jobthanks for the writing it helps me to do my writer job