Forum Discussion
Jseb04
Jul 27, 2021Copper Contributor
Safe assembly web parts
Hi,
I am modifying an existing web parts, into a sharepoint application. I am trying to add some dlls ( microsoft.graph.dll and identity.client.dll). I installed the package through nuget.
The error i keep getting is the follow.
Could not load file or assembly 'Microsoft.Identity.Client, Version=4.35.0.0, Culture=neutral, PublicKeyToken=0a613f4dd989e8ae' or one of its dependencies. The system cannot find the file specified.
What I found was maybe the assembly dll where not signed. So i followed this article to sign the dlls.
https://docs.microsoft.com/en-us/visualstudio/sharepoint/how-to-mark-controls-as-safe-controls?view=vs-2019
However I still get the errors. Here my setting on how i sign.
I am lost, and not sure what else to do.
No RepliesBe the first to reply