1
  1. Is my understanding of following page correct that we can distribute Microsoft.SharePoint.Client.dll and Microsoft.SharePoint.Client.Runtime.dll with our application? Like we reference these DLLs in our application and set "Copy Local" to "True"?

https://msdn.microsoft.com/en-us/library/office/ee539757%28v=office.14%29.aspx

  1. Can we also distribute Microsoft.SharePoint.dll with our application?

1 Answer 1

2
  1. Yes, definitely.
  2. No. But the real question is: why would you want to distribute these server-side DLLs? They only work on a SharePoint server...
2
  • I was thinking that to connect using SSOM you need only Microsoft.SharePoint.dll so if I can include it in my application it will work from client machine also, no? Commented Aug 23, 2015 at 18:06
  • 2
    No. SSOM only works in code deployed and run on one of the SharePoint server in the farm. Using Microsoft.SharePoint.dll in a client application is not supported, not legal, and will technically fail in most cases (since, at least, SSOM actually connects the SQL database, and there's very few chances you can do that from a client).
    – Evariste
    Commented Aug 23, 2015 at 18:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.