Visual studio 2013 remote debug monitor cannot find the specified file

I have VS2013 Universal Update2 on the Win7 x64 desktop, and I am trying to debug the process that should run on the server, so the visual studio 2013 remote debug monitor (version x64 Update2) was installed on my x64 server for Windows 2008 R2. Then, the local project VS2013 was changed to use remote debugging with the name of the remote machine and the working directory folder C: \ RemoteDebug. I was surprised that the working directory folder was actually required on the local machine, otherwise I had a complaint that it was missing, and now I get an error message

"Error while trying to run the project: Unable to start the program '<MyLocalTfsPath>\<MyProgram>.exe'. The system cannot find the file specified."

and my local executable is located at the specified path. The remote monitor is running and tells me that I connected every debugging attempt, so this is not a connection problem. It seems to me that the local and remote folder locations have been canceled from what I expect from this new update (scenario 1). I know that the older remote debugging (scenario 2) used "run an external program" which is related to files on the local computer, but it looks like VS2013 update is updated 2 and this document

http://msdn.microsoft.com/en-us/library/8x6by8d2.aspx#BKMK_Set_up_a_Visual_C__Visual_Basic_project

implies that he will publish the files on the remote computer and run “Run Project” as usual. Currently, I cannot test scenario 2, as I connect using OpenVPN and my server does not directly see my local desktop. Therefore, I hope to get scenario 1, where VS2013 is doing some kind of publication. With the VS2013 2 update, which files and folders go where I, or VS2013, put them there? I understand what VS2013 Update 2 offers in terms of remote debugging?

+4
source share
1 answer

, . (, DEVMACHINE VS2012, Surface Pro 2 (, REMOTEMACHINENAME). :

  • " Visual Studio 2012 Update 4" .
  • " " "". , , .. . .
  • , - "Vsvsmon started a new server named 'REMOTEMACHINENAME:4016'. Waiting for new connections."
  • VS2012. Properties
  • Debug. Use remote machine ( REMOTEMACHINENAME)
  • Build Output path dev. - \\DEVMACHINE\c$\projects\myapp\project\bin\x86\Debug\

, , 6, , , , , C:\ . dev, .

: , VS2012 exe. , , VS2012. , .

+6

Source: https://habr.com/ru/post/1547320/


All Articles