Get SharePoint Online (Office 365 Enterprise E3) Subscription for your Business NOW

Microsoft.SharePoint.Client.ClientRequestWrapper' from assembly PnP SharePoint

SharePoint tutorial, training and video courses Forums SharePoint Development Microsoft.SharePoint.Client.ClientRequestWrapper' from assembly PnP SharePoint

This topic contains 0 replies, has 1 voice, and was last updated by  Preeti Sahu 2 months, 1 week ago.

Viewing 1 post (of 1 total)




  • Author
    Posts
  • #22201

    Preeti Sahu
    Participant

    Recently I was trying to use SharePoint PnP CSOM and added the SharePointPnPCoreOnline dll, but when I run the code, I got the below error in ctx.ExecuteQueryRetry(); method.

    $exception {“Could not load type ‘Microsoft.SharePoint.Client.ClientRequestWrapper’ from assembly ‘Microsoft.SharePoint.Client.Runtime, Version=16.1.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c’.”:”Microsoft.SharePoint.Client.ClientRequestWrapper”} System.TypeLoadException

    But it is working fine if I am using ctx.ExecuteQuery(); method.

    The same dll versions are working fine in another system. Any clue?

    Could not load type 'Microsoft.SharePoint.Client.ClientRequestWrapper' from assembly 'Microsoft.SharePoint.Client.Runtime, Version=16.1.0.0,



Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.