1

I have a development environment setup with these components

  • SharePoint 2013
  • Windows 2012 R2
  • Visual Studio 2013

SharePoint is up and running just fine.

I am however getting an error when trying to add SharePoint items to my solution in the Visual Studio project.

An error occurred while trying to load a required component. Please ensure that the following prerequisite component is installed: Microsoft Exchange WebServices

enter image description here

I have tried the well known EwsManagedApi32.msi addlocal="ExchangeWebServicesApi_Feature,ExchangeWebServicesApi_Gac" from an elevated command prompt. This error rather seems to be that VS 2013 don't recognize the EWS assemblies.

Any advices are welcome, thanks

2

This can happen if you install just the developer tools without the complete set of prerequisites. You could try fixing your setup by closing Visual Studio and then following steps:

1.Go to Control Panel > Uninstall a program
2.Select Microsoft Office Developer Tools for Visual Studio 2012
3.Click on Change to uninstall it. The setup program should launch.
4.Click on Uninstall to remove the Office Developer Tools.
5.Download the Office Developer Tools using this Web Platform Installer link from the Get It Now section of the blog announcing the latest release of Office Developer Tools. This Web Platform Installer should install the Office Developer Tools and all the prerequisites (Exchange Web Services, LightSwitch HTML Client, etc).
6.Try creating your SharePoint 2013 Empty Project again.

Link

  • Thanks, but this is VS 2013 and id does not require the Office Developer Tools package, it isn't even possible to install it. – Eric Herlitz Jan 3 '14 at 8:04
  • There most certainly is an Office Developer Tools package for VS 2013 that causes this error if it's missing. – Kyle Hale Aug 15 '14 at 15:08
  • I am trying to create new project in VS2015 with SP 2016 installed, but the issue is similar- in my case I believe , have to install latest Office Developer Tools which should resolve the issue. – John Zachariah Feb 2 '17 at 11:11
  • @JohnZachariah did u find a fix as today i install VS 2015 community and i am facing this problem !! – john Gu Mar 22 '17 at 2:27
  • No , I didn't actually within corporate, the firewall did not allow me to do web deployer, but using web deployer this could be resolved.. – John Zachariah Mar 22 '17 at 11:50
1

Uninstalling and Reinstalling Visual Studio 2013 solved this issue.

  • 1
    This saved my day!, I am trying to create new project in VS2015 with SP 2016 installed, but the issue is similar- in my case I believe , have to install latest Office Developer Tools which should resolve the issue. – John Zachariah Feb 2 '17 at 11:10
  • Update: I re-installed Microsoft Exchange Web Services Managed API 2.0 that helped fixing the issue – John Zachariah Mar 23 '17 at 11:55
0

I uninstalled and re-installed Microsoft Exchange Web Services Managed API 2.0 with 64 bit version that helped fixing the issue.

This reference give you step by step installation Link

Microsoft Link to download

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.