Thursday, July 24, 2014

Disposable type not disposed : Microsoft.SharePoint.SPSite


Hi,

We have found the below error when we were trying to deploy the solution.
Error is clearly saying that SPSite object is not disposable properly.
So we have disposed SPSite object by using statement as below. Then it got deployed successfully.


No comments:

Post a Comment