Reputation: 21
I have a MFC vc++ project and I have exe file for this project using Visual Studio 2013. When I open the project exe it is working fine on my development machine.
But when I open this exe in my customer's machine, I'm getting this error message:
The program can't start because mfc120d.dll is missing from your computer. Try reinstalling the program to fix this problem
I noticed that my project exe file is working if the system has Visual Studio installed. I also installed "Visual C++ Redistributable Packages for Visual Studio 2013", but even then I'm getting same error. Please suggest a solution.
Upvotes: 1
Views: 1293
Reputation: 2663
This is because you deployed a debug version of your app. If this was intentional (to be able to debug remotely? ) you can find and deploy the mfc120d.dll from your VS2013 installation directory. Otherwise just build the Release configuration and you should be fine.
Upvotes: 1