Tuesday, August 30, 2005

SharePoint Tip: Where to find the SharePoint Assemblies for development.

This entry has been moved, Please Click Here to View

3 comments:

Anonymous said...

Hi Matthew,

How do I check if I have the full Sharepoint version downloaded or just the Portal Services.

I can only find Microsoft.SharePoint.dll
in C:\Program Files\Common Files\Microsoft Shared\web server extensions\60\ISAPI

However Microsoft.SharePoint.Portal.dll
exists in C:\Windows\assembly

but I cant reference it from there.

Thanks,

Josh

Matthew Cosier said...

Hi Josh,

You can check what version(s) you are running by going into your add/remove programs listing on the server. You should see Windows SharePoint Services 2.0 (ability to reference Microsoft.SharePoint.dll) and if you have SharePoint Portal Server 2003, it will be listed there and you should be able to then find Microsoft.SharePoint.Portal.dll)

You say you can find Microsoft.SharePoint.dll - so that's all good. You say that Microsoft.SharePoint.Portal.dll exists in c:\windows\assembly which means you *do* have Portal Server installed.

You can easily extract the files by opening a command prompt and typing subst k:\ c:\windows\assembly\gac

Then, go to start -> run and type k:\ and hit enter.
this will give you a folder listing of all the items in the GAC.

You should now be able to extract the Microsoft.SharePoint.Portal.dll (you can perform a file-search if you cant find it).

HTH,

Matthew Cosier

Anonymous said...

Thanks Mathew,

Cheers,

Josh