sharepoint 2013 and visual studio 2012 problem
April 6, 2014 Leave a comment
Prerequisites for creating SharePoint 2013 projects using Visual Studio 2012
Unlike Visual Studio 2010, you need to install an extra component to be able to create SharePoint 2013 projects in Visual Studio 2012. Since, I have seen some customers having trouble with that, I thought it would be helpful to write few words about it.
If you have installed Visual Studio 2012 and would like to be able to create SharePoint 2013 projects with it make sure you do the following:
1- Install the “Microsoft Web Developer Tools” which is a feature that ships with Visual Studio 2012
If you try to create a SharePoint 2013 project and you get the following error message:
“An error occurred while trying to load some required components. Please ensure that the following prerequisites components are installed:
Microsoft Web Developer Tools
Microsoft Exchange Web Service.”
- Make sure that you have the “Microsoft Web Developer tools” feature added through the Visual studio 2012 installer.
- Make sure you have the “Microsoft Exchange Web Services API” *version 8.2.5 32bit* installed from command line with the following switch: addlocal=”ExchangeWebServicesApi_Feature,ExchangeWebServicesApi_Gac” So it will look like this:
if you haven’t done so, uninstall it and reinstall it again from command line with the outlined switch listed above.
The Microsoft Exchange Web Services API can be downloaded from here.
** Note this article is updated to add the command line that will register the EWSManagedApi32 component. Thanks to Tom Van Gaever.