If you've spent any time in the SharePoint world lately, you've undoubtedly been exposed to the PnP project and it's super powerful extensions for SharePoint. While PnP is not officially supported by Microsoft, it is Community Supported by the SharePoint Product Team. PnP can be very fussy at times with strict dependencies on very specific DLL versions. The most frustrating thing is when you are presented with this error:
Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
I never understood why the exception code that is throwing the error doesn't just provide the LoaderExceptions info in the error message, but such is life. When we get this error, we can deal with it in the following manner:
Happy coding
C
The SharePoint Knowledge Collection of Cornelius J. van Dyk, an 9 x SharePoint MVP
Subscribe to:
Post Comments (Atom)
SharePoint Remote Event Receivers are DEAD!!!
Well, the time has finally come. It was evident when Microsoft started pushing everyone to WebHooks, but this FAQ and related announcement...
-
Ever wondered what the new SharePoint Online URLs are all about? Take for example https://cjvandyk.sharepoint.us/:x:/r/sites/Site1... What ...
-
Every so often, you run across the need to redirect a page somewhere else, like after a server migration when DNS isn’t used. By simply addi...
-
When using NuGet, we can easily run into assembly reference issues. A notorious error message is: CS0012: The type ‘System.Object’ is def...
No comments:
Post a Comment
Comments are moderated only for the purpose of keeping pesky spammers at bay.