title: Could not load file or assembly 'Microsoft.SharePoint.Library' which I've never added
body: <p>I've been developing a .NET Web Application that connects with a SharePoint Online instance. Everything was going well until I suddenly started getting the following error</p>
  
  <pre><code>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.
  </code></pre>
  
  <p>This is a file or assembly that I have never added into the project. I've only added the following SharePoint packages via NUGET</p>
  
  <ul>
  <li>JohnHolliday.Caml.Net.SharePoint</li>
  <li>SharePoint.Client</li>
  <li>SharePoint.Client.Runtime</li>
  <li>SharePoint.Client.Search</li>
  </ul>
  
  <p>Any help would be greatly appreciated.</p>
  
  <p><strong>UPDATE</strong></p>
  
  <p>Installed SharePoint Server 2013 Client Components SDK which includes the following</p>
  
  <pre><code>Microsoft.Office.Client.Education.dll
  Microsoft.Office.Client.Policy.dll
  Microsoft.Office.Client.TranslationServices.dll
  Microsoft.SharePoint.Client.dll
  Microsoft.SharePoint.Client.DocumentManagement.dll
  Microsoft.SharePoint.Client.Publishing.dll
  Microsoft.SharePoint.Client.Runtime.dll
  Microsoft.SharePoint.Client.Search.Applications.dll
  Microsoft.SharePoint.Client.Search.dll
  Microsoft.SharePoint.Client.Taxonomy.dll
  Microsoft.SharePoint.Client.UserProfiles.dll
  Microsoft.SharePoint.Client.WorkflowServices.dll
  </code></pre>
  
  <p>Unfortunately, no Microsoft.SharePoint.Library.</p>
  
  <p><strong>UPDATE</strong></p>
  
  <p>Finally resolved the issue. There was a SharePoint.dll in the bin folder of the project that once deleted, the project was able to run as normal.</p>