Friday, January 21, 2011

Location of microsoft.sharepoint.portal.dll in sharepoint 2010

While working in SharePoint 2010, I was in need to add reference to microsoft.sharepoint.portal.dll . When I go through the normal process, I did not get this dll inside the .net components. I got the dll in 2 places

1. C:\Windows\assembly
But the problem is I can not give reference from the GAC. Then I found the dlls in

2. C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\ISAP :

Then here I was able to give reference.