SharePoint 2016: Deploy Error - Unable to load one or more requested types.Retrieve the LoaderExceptions property for more information

sharepoint.stackexchange https://sharepoint.stackexchange.com/questions/201510

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.

有帮助吗?

解决方案

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.

其他提示

Need to install SharePoint Server 2013 Client Components or SharePoint Server 2016 Client Components to solve this issue.

许可以下: CC-BY-SA归因
scroll top