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

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.

Était-ce utile?

La 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.

Autres conseils

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

Licencié sous: CC-BY-SA avec attribution
Non affilié à sharepoint.stackexchange
scroll top