开发者

How do I attach to an app running inside the Windows Phone emulator?

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?


As a workaround:

  • open the solution configuration manager
  • next to build is a deploy column, uncheck your project
  • press F5

This will launch the app that is already on the device without overwriting it (and deleting its storage).


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜