VCRUNTIME140D.dll is missing on vmware workstation

I'm trying to learn how to debug debug-builds on a virtual machine, after installing on a virtual machine:

  • SDK
  • Microsoft Visual C++ Redistributable for Visual Studio 2015, 2017 and 2019.

When you try to run a simple console application, you get the following error: VCRUNTIME140D.dll is missing Where to get this library to start the process and attach it via Attach to process... From the debug menu?

P. s. I would be happy with any manuals about debugging applications on virtual machines

Author: Vasilii Zhukovsky, 2020-07-02