PC连接到真正的Windows Phone 7设备启动应用程序异常

时间:2012-01-31 07:28:52

标签: windows-phone-7

该应用程序可以启动到模拟器,但实际设备失败,当我调试方法RemoteApplication.Launch()导致错误如下所示:

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: 

我指的是http://justinangel.net/WindowsPhone7EmulatorAutomation

0 个答案:

没有答案