VS created app in C++ redistribution missing dll ?

Justin Tabatchnick 1 Reputation point

windows 10 app created in VS 2019 will not run on targeted computer . getting system error MSVCP140D , VCRUNTIME140D.dll , and ucrtbased.dll are missing . Followed https://learn.microsoft.com/en-us/cpp/windows/deploying-visual-cpp-application-by-using-the-vcpp-redistributable-package?view=msvc-170 and it still is missing required dlls . What am I doing wrong?


Justin Tabatchnick

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,867 questions
{count} votes

3 answers

Sort by: Most helpful
  1. RLWA32 43,046 Reputation points

    You're attempting to distribute a debug build of your application. The debug versions of runtime dlls are not included in the redistributable packages. You should distribute a release version of your application. Just so you know, the debug versions of dlls are not redistributable according to the related licensing agreements for visual studio.

    0 comments No comments

  2. Justin Tabatchnick 1 Reputation point

    Fixed it !! didn't realize I was trying to run the debug version on a target that did not have VS installed. Switched to "release" at build time.

    0 comments No comments

  3. DEMOULIN Anne-Sophie 1 Reputation point


    I need to debug my app on a remote client and i'm searching the debug dll related here. How can i found them ? I can't run my project in release for the moment.