locked
Is there any way to get Microsoft.Sharepoint.DLL? RRS feed

  • Question

  • I need to add a reference to the Microsoft.Sharepoint.dll, the problem is, the file can only be located in a computer/server where a Sharepoint is installed. Is there a way to somehow download Microsoft.SHarepoint.dll so I can use it?

    I am using Visual STudio 2010

    Wednesday, March 23, 2011 8:57 AM

Answers

  • Hi EAOA,

    The SharePoint Project Items in Visual Studio do require you to be running Visual Studio 2010 on the same box as SharePoint - it does make for a much easier development lifecycle.

    If you want to get the SharePoint DLL it's hiding in:

    C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\ISAPI\Microsoft.SharePoint.dll

    Regards

    Phill


    If you found this post helpful, please mark it so. Thanks!

    Lightning Tools – where I work
    BCS Tester Man – My Codeplex personal project

    Wednesday, March 23, 2011 9:30 AM
  • So Phils answer is best if you want to attach to the Object Model via the DLL. If you dont have access to the 14 Root folder and someone cant get it to you.  The next best option for you is to use the OOB Web Services here is a link that shows you the Web Services http://msdn.microsoft.com/en-us/library/ee705814.aspx 

    Connect with Me!

    Fabian G. Williams | Twitter @FabianWilliams | Blog http://www.sharepointfabian.com | Email: fabian@adotob.com

    Adotob Logo

    Thursday, March 24, 2011 2:07 AM

All replies

  • Hi EAOA,

    The SharePoint Project Items in Visual Studio do require you to be running Visual Studio 2010 on the same box as SharePoint - it does make for a much easier development lifecycle.

    If you want to get the SharePoint DLL it's hiding in:

    C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\ISAPI\Microsoft.SharePoint.dll

    Regards

    Phill


    If you found this post helpful, please mark it so. Thanks!

    Lightning Tools – where I work
    BCS Tester Man – My Codeplex personal project

    Wednesday, March 23, 2011 9:30 AM
  • Hi Phil Duffy. Thank you very much for your answerLet's just say that I don't have access to the workstation that has sharepoint installed in it. Can I still somehow have access to the Sharepoint services?

    Wednesday, March 23, 2011 9:37 AM
  • So Phils answer is best if you want to attach to the Object Model via the DLL. If you dont have access to the 14 Root folder and someone cant get it to you.  The next best option for you is to use the OOB Web Services here is a link that shows you the Web Services http://msdn.microsoft.com/en-us/library/ee705814.aspx 

    Connect with Me!

    Fabian G. Williams | Twitter @FabianWilliams | Blog http://www.sharepointfabian.com | Email: fabian@adotob.com

    Adotob Logo

    Thursday, March 24, 2011 2:07 AM