I have this error using Visual Studio 2013. I have added the Microsoft.Sharepoint.dll
and Microsoft.Sharepoint.Client.dll
Tried it on .Net Framework 4.0 and 4.5.
Could not load file or assembly 'Microsoft.SharePoint.Library, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies. The system cannot find the file specified.
What reference do I need to add for this to work please?