远程调试C++应用程序,部署失败VS 2015

问题描述:

我想远程调试C++应用程序。 VS 2015可以连接到远程机器和远程机器上“VS 2015远程调试器”正在检测有效用户连接到它。但是,部署与错误未能在Visual Studio远程调试C++应用程序,部署失败VS 2015

2>Error: Unable to deploy local file 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\Debug_NonRedist\x64\Microsoft.VC140.DebugCRT\concrt140d.dll' (remote file path 'C:\remotetemp\concrt140d.dll') 2>Error: Unable to deploy local file 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\Debug_NonRedist\x64\Microsoft.VC140.DebugCRT\msvcp140d.dll' (remote file path 'C:\remotetemp\msvcp140d.dll') 2>Error: Unable to deploy local file 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\Debug_NonRedist\x64\Microsoft.VC140.DebugCRT\vccorlib140d.dll' (remote file path 'C:\remotetemp\vccorlib140d.dll') 2>Error: Unable to deploy local file 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\Debug_NonRedist\x64\Microsoft.VC140.DebugCRT\vcruntime140d.dll' (remote file path 'C:\remotetemp\vcruntime140d.dll') 2>Error: Unable to deploy local file 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\Debug_NonRedist\x64\Microsoft.VC140.DebugCXXAMP\vcamp140d.dll' (remote file path 'C:\remotetemp\vcamp140d.dll') 2>Error: Unable to deploy local file 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\Debug_NonRedist\x64\Microsoft.VC140.DebugMFC\mfc140ud.dll' (remote file path 'C:\remotetemp\mfc140ud.dll') 2>Error: Unable to deploy local file 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\Debug_NonRedist\x64\Microsoft.VC140.DebugMFC\mfcm140ud.dll' (remote file path 'C:\remotetemp\mfcm140ud.dll') 2>Error: Unable to deploy local file 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\Debug_NonRedist\x64\Microsoft.VC140.DebugOpenMP\vcomp140d.dll' (remote file path 'C:\remotetemp\vcomp140d.dll')

我跟着https://msdn.microsoft.com/en-us/library/y7f5zaaa.aspx并设置参数指定

设置

Remote Command => C:\remotetemp\myapp.exe

Working Directory => C:\remotetemp

Remote Server Name => remotemachine

Connection => Remote with Windows Authentication

Debugger Type => Auto //I tried native also but didn't work for me

Deployment Directory => C:\remotetemp

任何想法可能在这里失去了?

我有同样的问题,得到解决: 似乎源机(调试器)将一些文件复制到远程机器的指定文件夹(c:\ remotetemp)。因此,请确保该目录具有创建文件所需的全部权限。

+0

对我不起作用 – fnc12

我意识到这是晚了,但我有这个错误,并发现它,因为我的远程系统,我推文件也没有硬盘空间。因此,确保系统上的驱动器不会充满。

+0

对我无效 – fnc12