title: Remote Debugging C++ Application, Deployment failed on VS 2015
body: <p>I am trying to remote debug C++ application. VS 2015 could able to connect to remote machine and on remote machine "VS 2015 Remote Debugger" is detecting valid user is connected to it. But deployment is failing with errors in visual studio </p>
  
  <blockquote>
    <p>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')</p>
  </blockquote>
  
  <p>I followed <a href="https://msdn.microsoft.com/en-us/library/y7f5zaaa.aspx" rel="nofollow">https://msdn.microsoft.com/en-us/library/y7f5zaaa.aspx</a> and set parameters as specified</p>
  
  <p>Setting</p>
  
  <blockquote>
    <p>Remote Command =>  C:\remotetemp\myapp.exe</p>
    
    <p>Working Directory => C:\remotetemp</p>
    
    <p>Remote Server Name => remotemachine</p>
    
    <p>Connection => Remote with Windows Authentication</p>
    
    <p>Debugger Type => Auto
    //I tried native also but didn't work for me</p>
    
    <p>Deployment Directory => C:\remotetemp</p>
  </blockquote>
  
  <p>Any idea what might be missing here?</p>