wpf Visual Studio 2012:远程调试监视器 (MSVSMON.EXE) 似乎未在远程计算机上运行

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/16683669/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-13 08:50:42  来源:igfitidea点击:

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

wpfvisual-studio

提问by Shahin

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

我在 Windows 7 x64 机器上安装了 Visual Studio 2012 Ultimate。
今天,当我尝试运行 WPF 应用程序时,出现此错误: 在此处输入图片说明



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.

我也吃过“msvsmon.exe”但它没有解决我的问题。
重新启动我的机器是解决我尝试过的这个问题的另一种方法。


How do I fix it?


我如何解决它?

回答by Patrick

Windows 7 x64, VS 2012

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.

就我而言,远程调试监视器组件已安装,并且应用程序已明确配置为在设置中进行本地调试。这是一个从 VS 2008、.NET 3.5 升级的 WinForms 应用程序。

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

原来是Windows防火墙。通过直接运行:

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!

出现了一个防火墙对话框,我可以在其中允许 msvsmon.exe 运行。在 VS 2012 重新启动后,调试(本地)很好!

回答by Johan

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

如果您正在运行 Proxifier,则将规则添加到路由 ::1 (IPV6 Loop-back) Direct 而不是通过代理。

IPV6 Visual-Studio Debug Fix

IPV6 Visual-Studio 调试修复

回答by mehrandvd

I had the same problem. It was because of some tunneling software on my computer: Proxifier.

我有同样的问题。这是因为我电脑上的一些隧道软件:Proxifier。

If you run it, after then this error will appear when you hit F5. However, closing the Proxifierwould not be enough! You should close it, then close the VS, after then, reopen the VS.

如果你运行它,之后当你按下 F5 时会出现这个错误。但是,关闭Proxifier还不够!您应该关闭它,然后关闭VS,然后重新打开VS。

回答by Arun Selva Kumar

Select 'Local Machine', when you run the application. It seems like Remote Machine is selected for debugging.

运行应用程序时,选择“本地计算机”。似乎选择了远程机器进行调试。