如何附加到 Windows Phone 模拟器内运行的应用程序?
我正在尝试调试在 Windows Phone 7 模拟器内运行的应用程序,但无法从 Visual Studio 连接到它 - 附加到进程
->选择 Windows Phone 7 Emulator
传输会显示错误:
“无法连接到‘Windows Phone 7 模拟器’。未实现”
我缺少什么?
I'm trying to debug an app running inside the windows phone 7 emulator, but I can't connect to it from visual studio - Attach to Process
-> selecting Windows Phone 7 Emulator
transport displays an error:
"Unable to connect to 'Windows Phone 7 Emulator'. Not implemented"
What am I missing?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
解决方法:
这将启动设备上已有的应用程序,而不会覆盖它(并删除其存储)。
As a workaround:
This will launch the app that is already on the device without overwriting it (and deleting its storage).
我认为不可能连接到已经在模拟器上运行的应用程序。
听起来您正在尝试自己直接连接到模拟器,而不是在其中运行的应用程序。无论如何,我认为这不是你想要的。
如果您将模拟器视为虚拟机,这可能会有所帮助。就是这样。 (差不多了。)
如果要在模拟器中调试应用程序,则需要通过 Visual Studio 启动它。
I don't think it's possible to connect to an app that is already running on the emulator.
It sounds like you're trying to connect to the emulator directly yourself,rather than the app running in it. Which I don't think is what you want anyway.
It may help if you think of the emulator as a virtual machine. That's what it is. (near enough.)
If you want to debug an app in the emulator, you need to launch it through Visual Studio.