How to Deploy REST SDK app

Jun 19, 2014 at 8:46 AM
Created an App which uses C++ REST SDK to talk to REST API, it works fine on local machine. Now I want to deploy it on a fresh Win7 machine which does not have VS2013 on it. Inorder to test this I simply copied the DEBUG folder with my applications exe and cpprest dll in it but it does not work.
On launching exe I get an error message saying 'Program cant start because MSVCP120D.dll is missing'.
Same error for both DEBUG and RELEASE versions.
How do I create an installer for my app? What is the proper way to include C++ REST SDK in installer which will take care of all the OS?
Jun 19, 2014 at 4:52 PM

To avoid the "MSVCP120D.dll is missing" error, you need to install the VC redistributable packages for vs2013 on your win7 machine.
Jul 3, 2014 at 6:34 PM
For distributing your application to customers, you'll want to ensure you do NOT have a dependency on debug DLLs. Only the retail DLLs are included in the VC Redist package (i.e. msvcp120.dll).

For the internal debug/testing scenario (using msvcp120d.dll) on another machine, you'll want to copy msvcp120d.dll into the DEBUG folder when copying to your Windows 7 machine (i.e. App Local deployment). Note: It's likely that you'll also need msvcr120d.dll, as well.