Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio 2012 : Remote Debugging Monitor (MSVSMON.EXE) does not appear to be running on the remote computer

I've Visual Studio 2012 Ultimate on Windows 7 x64 machine.
Today when I tried to run my WPF application I got this error : enter image description here


What's wrong ? What is remote debugging ? I just want to run my application.

I've also lunched "msvsmon.exe" but it didn't fix my problem.
Restarting my machine was another way to get rid of this problem that I tried.


How do I fix it?

like image 533
Shahin Avatar asked Jan 13 '23 08:01

Shahin


2 Answers

Windows 7 x64, VS 2012

In my case, the Remote Debugging Monitor component was installed and the app was clearly configured to debug locally in settings. This was a WinForms app upgraded from VS 2008, .NET 3.5.

Turns out it was the Windows Firewall. By directly running:

C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\Remote Debugger\x64\msvsmon.exe

A firewall dialog appeared where I could allow msvsmon.exe to run. After a VS 2012 re-start, debugging (locally) was fine!

like image 118
Patrick Avatar answered Jan 17 '23 06:01

Patrick


I you are running Proxifier add a rule to route ::1 (IPV6 Loop-back) Direct and not via the proxy.

IPV6 Visual-Studio Debug Fix

like image 24
Johan Avatar answered Jan 17 '23 06:01

Johan