2016-03-04 183 views
1

我想遠程調試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

任何想法可能在這裏失去了?

回答

0

我有同樣的問題,得到解決: 似乎源機(調試器)將一些文件複製到遠程機器的指定文件夾(c:\ remotetemp)。因此,請確保該目錄具有創建文件所需的全部權限。

+0

對我不起作用 – fnc12

0

我意識到這是晚了,但我有這個錯誤,並發現它,因爲我的遠程系統,我推文件也沒有硬盤空間。因此,確保系統上的驅動器不會充滿。

+0

對我無效 – fnc12