本文介绍了PC连接到真正的Windows Phone 7设备启动应用程序异常的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 29岁程序员,3月因学历无情被辞! 该应用程序可以启动到模拟器但是真实设备失败,当我调试方法RemoteApplication.Launch()时出现以下错误: Microsoft.SmartDevice.Connectivity.SmartDeviceException未处理消息= 0x80040202 Source = Microsoft.SmartDevice.Connectivity ErrorCode = -2147220990 StackTrace: at Microsoft.SmartDevice.Connectivity.RemoteApplication.Launch() at DeveiceAutomationTest_Desktop.DeveiceControl.ApplicationManager.InstallApplicationAndLaunch(Device deviceObj,Guid applicationGuid,String E:\work \ WP7AutomationTest_Demo \DeveiceAutomationTest_Desktop \DeveiceControl \ A中的iconFileName,String xapFileName) pplicationManager.cs:第29行,位于E:\\\\\\\\\\\ ._nExecuteAssembly(RuntimeAssembly assembly,String [] args) at System.AppDomain.ExecuteAssembly(String assemblyFile,Evidence assemblySecurity,String [] args) at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly() at System.Threading.ThreadHelper.ThreadStart_Context(Object state) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext,ContextCallback callback,Object state,Boolean ignoreSyncCtx) at System.Threading.ExecutionContext .Run(ExecutionContext executionContext,ContextCallback回调,对象状态) at System.Threading.ThreadHelper.ThreadStart() InnerException: 我指的是 http://justinangel.net/WindowsPhone7EmulatorAutomation 。 屏幕解锁,我检查了phoneSdk.GetDevices()的名称设备名称是否正确。我使用的是HTC 7 MOZART T8698 谢谢!解决方案 嗨明亮, 此论坛适用于智能设备开发(Windows移动版和CE版)。对于Windows Phone 7的问题,您最好在http://forums.create.msdn.com/forums/上查询电话7论坛的问题 The app can be launched to Emulator but to real device failed,When I debug to method RemoteApplication.Launch() lead error as below:Microsoft.SmartDevice.Connectivity.SmartDeviceException was unhandled Message=0x80040202 Source=Microsoft.SmartDevice.Connectivity ErrorCode=-2147220990 StackTrace: at Microsoft.SmartDevice.Connectivity.RemoteApplication.Launch() at DeveiceAutomationTest_Desktop.DeveiceControl.ApplicationManager.InstallApplicationAndLaunch(Device deviceObj, Guid applicationGuid, String iconFileName, String xapFileName) in E:\work\WP7AutomationTest_Demo\DeveiceAutomationTest_Desktop\DeveiceControl\ApplicationManager.cs:line 29 at DeveiceAutomationTest_Desktop.Program.Main(String[] args) in E:\work\WP7AutomationTest_Demo\DeveiceAutomationTest_Desktop\Program.cs:line 38 at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args) at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args) at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly() at System.Threading.ThreadHelper.ThreadStart_Context(Object state) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.ThreadHelper.ThreadStart() InnerException:I refer to http://justinangel.net/WindowsPhone7EmulatorAutomation. The screen is unlocked and I checked Name of phoneSdk.GetDevices() that the device name is correct.I use HTC 7 MOZART T8698Thanks! 解决方案 Hi bright ming,This forum is for Smart Device Development (Windows mobile and CE). For Windows Phone 7 questions you could better ask the question here http://forums.create.msdn.com/forums/ for Phone 7 forums 这篇关于PC连接到真正的Windows Phone 7设备启动应用程序异常的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云! 08-19 01:19