Konnte nicht geladen, Datei oder assembly 'Microsoft.SharePoint.Bibliothek", die habe ich noch nie Hinzugefügt

Ich habe die Entwicklung ein .NET Web-Anwendung, die eine Verbindung mit einer SharePoint Online-Instanz. Alles war gut, bis ich plötzlich begann immer die folgende Fehlermeldung

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.

Dies ist eine Datei-oder AssemblyName, dass ich noch nie in das Projekt integriert. Ich habe nur die folgenden SharePoint-packages per NUGET

  • JohnHolliday.Caml.Net.SharePoint
  • SharePoint.Client
  • SharePoint.Client.Laufzeit
  • SharePoint.Client.Suche

Jegliche Hilfe würde sehr geschätzt werden.

UPDATE

Installierten SharePoint Server 2013 Client Components SDK enthält die folgenden

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

Leider kein Microsoft.SharePoint.Bibliothek.

UPDATE

Schließlich das Problem behoben. Es war ein SharePoint.dll in den bin-Ordner des Projekts, die, wenn Sie einmal gelöscht, das Projekt war in der Lage zu laufen als normal.

InformationsquelleAutor Sean Dooley | 2017-07-31

Schreibe einen Kommentar