Visual Studio Remote Debugging - MSVCP140.dll is missing

Viewed 3553

I am trying to debug a .Net application running on remote machine from my local dev. machine. I am getting an error saying MSVCP140.dll is missing

Details:

Dev. machine: Visual Studio 2015, Windows 7

Remote machine: Windows Server 2012 R2, Visual Studio Remote Tools for 2015 installed.

On remote machine, I configured the Remote Debugger with "no authentication" and port 4020.

In dev. machine's Visual Studio Attach to Process window, configured as below:

Transport: Remote (no authentication)

Qualifier: remote_machine_name:4020

As I click on Refresh button, it lists remote machine's processes. While on remote machine, the Visual Studio Remote Debugger window shows that user_name connected.

Screenshot of Remote Debugger window

As soon as I attach to the remote machine's process in Visual Studio, it enters into the debug mode, but symbols remain unloaded.

Interestingly, on the remote machine I got an error message: "The program can't start because MSVCP140.dll is missing from your computer.
Try reinstalling the program to fix this problem."

Screenshot of error: MSVCP140.dll is missing

Though, the file MSVCP140.dll exists in the path of msvmon.exe file.

2 Answers

Check the version of your platform solution (x86 or x64)

Install the C++ Redistributable package matching with your platform and your VS version on your remote machine. Install both packages if not sure. You should not have to restart.

Related