Ive added the using Microsoft.SharePoint.Client;
But still getting errors, is it some dll i need to download?
This is the error:
The type or namespace name ‘SharePoint’ does not exist in the
namespace ‘Microsoft’ (are you missing an assembly reference?)
That’s the important part. You say you have added a
usingstatement for the namespace, but have you added an assembly reference?First, you need the DLL. Next, right click your project’s “References” section (Solution Explorer window), click “Add Reference” and then browse to the DLL. Add it and you should be set to go.