Recently I tried migrating the C++ Outlook add-in project (https://msdn.microsoft.com/en-us/library/office/ee941475(v=office.14).aspx). This project was created in Visual Studio 2010 and we tried migrating to Visual Studio 2013.
During compilation, I encountered the following error:
error MSB6006: "CL.exe" exited with formula –1073741515
The same code compiled, worked successfully in Visual Studio 2010. We haven’t done any changes in Visual Studio 2013, but still we got the above error.
I fixed the issue by changing the Platform Toolset value and it helped me to compile successfully. I tried the following (refer the snapshot): Changed
Platform Toolset value to
Visual Studio 2013.