|
The SP Dispose check when it is installed is placed by default at C:\Program Files\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 |









