Hi All,
I have created one plugin to get file from Sharepoint. The plugin code is working fine in the Console app but when I register on an event. When the plugin hit I can see below mentioned Error in Plugin Logs:
Message: Could not load file or assembly 'Microsoft.SharePoint.Client, Version=16.1.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies. The system cannot find the file specified Detail:
I have tried the solution from google but could not fix it.
Your help would be really appreciated.
Thank you.
You can't reference external DLLs in your plugin.
For now, I recommend you to use the rest api instead of the SharePoint SDK. You can refer to the following example:
According to wave 1 2021, we will be allowed to use external DLLs on our plugins. This will be realized in a few days.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,253 Super User 2024 Season 2
Martin Dráb 230,188 Most Valuable Professional
nmaenpaa 101,156