1

I have a project that accesses SharePoint and downloads files from it. The version of Microsoft.SharePoint.Client and Microsoft.SharePoint.Client.Runtime in the project is 14.0.0.0 and I want to update it because lately the project has not been working and I believe it is because of the version of these assemblies.

Do I need to install Microsoft.SharePointOnline.CSOM 16.1.6518.1200 or can I install Microsoft.SharePoint.Client and Microsoft.SharePoint.Client.Runtime separately?

2

You can download the SharePoint Client SDK from the MSDN downloads. To upgrade your solution by following below steps.

  1. Open your solution from Visual Studio.
  2. Go to your solution references.

enter image description here

  1. Open library references by right click on dll (Microsoft.SharePoint.Client) reference.

enter image description here

  1. Change the path property to where the dll is located. my solution reference is as follows.

C:\Program Files\Common Files\microsoft shared\Web Server Extensions\16\ISAPI\Microsoft.SharePoint.Client.dll

2

You can get the latest by downloading the nuget package. In visual studio, go to tools->nuget package manager->manage nuget packages for this solution. Click on the browse tab and search SharePoint Online. Follow the prompts to install the nuget package.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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