连接Windows Phone以后不能调试Windows Mobile程序的问题

问题

image

如果我把Windows Phone通过Zune software链接到PC上,然后再连接Windows Mobile。如果我想使用Visual Studio 对Windows Mobile进行调试,会出现下面的错误信息。

 

5>All attempts to connect to the deployment target at port 5655 have failed. Addresses attempted:
5> 127.0.0.1.
5>The device security configuration may have disallowed the connection. Ensure that you have the appropriate certificates on your device for development. Review your SDK documentation for proper security settings for connecting to this device.
5>
5>Connect to device failed.

我想Zune software和ActiveSync底层使用了同样的技术,例如socket,而且使用了同样的端口号。

 

解决方法

先连接Windows Mobile,然后再连接Windows Phone,这样就能够调试Windows Mobile的程序了。而且我试过可以同时调试Windows Phone的程序,顺序很关键。可是我重新启动Windows Mobile的调试又不行了,提示下面的错误信息。一山不能藏二虎。

Unable to start program 'WindowsMobileProgram.exe'
An existing connection was forcibly closed by the remote host. 

posted @   Jake Lin  阅读(1540)  评论(2编辑  收藏  举报
编辑推荐:
· 如何编写易于单元测试的代码
· 10年+ .NET Coder 心语,封装的思维:从隐藏、稳定开始理解其本质意义
· .NET Core 中如何实现缓存的预热?
· 从 HTTP 原因短语缺失研究 HTTP/2 和 HTTP/3 的设计差异
· AI与.NET技术实操系列:向量存储与相似性搜索在 .NET 中的实现
阅读排行:
· 10年+ .NET Coder 心语 ── 封装的思维:从隐藏、稳定开始理解其本质意义
· 地球OL攻略 —— 某应届生求职总结
· 提示词工程——AI应用必不可少的技术
· Open-Sora 2.0 重磅开源!
· 周边上新:园子的第一款马克杯温暖上架
历史上的今天:
2009-11-25 一文讲清楚Windows Mobile和Wince(Windows Embedded CE)的字符集问题
点击右上角即可分享
微信分享提示