SharePoint 2016: Deploy Error - Unable to load one or more requested types.Retrieve the LoaderExceptions property for more information
-
12-12-2020 - |
Question
I have created basic SharePoint 2016
Empty Project farm solution in which I have just created one custom list. When I am deploying the solution, got the error:
Unable to load one or more requested types. Retrieve the LoaderExceptions property for more information.
Even in empty solution without any list, webpart or anything in the solution got the same error. I am using Visual Studio 2015 Community edition.
Solution
Resolved the issue with:
- Uninstall the Visual Studio 2015 Community.
- Cleared the
AppData/Local
. - Install the Visual Studio 2015 Professional.
- Now able to deploy without any error.
Not sure that it was the issue of Community Edition or anything else but this resolved the issue.
OTHER TIPS
Need to install SharePoint Server 2013 Client Components or SharePoint Server 2016 Client Components to solve this issue.
Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange