Windows 10 IoT App默认情况下不启动

时间:2015-06-21 21:00:55

标签: windows-10 raspberry-pi2 windows-10-iot-core

我的应用程序默认情况下没有启动,即使我已将其配置并显示在启动列表中。

我通过命令行命令iotstartup add headed SmartHomeController_m8d17z30eray2!App添加了我的应用程序,该命令将应用程序放在启动列表中:

[192.168.178.21]: PS C:\Users\Administrator\Documents> iotstartup startup
Headed   : SmartHomeController_m8d17z30eray2!App

该应用程序似乎已开始但在屏幕上堆叠有彩色条但从未完全打开。我的应用程序进程列为正在运行。我做错了什么?

顺便说一下:我可以从Visual Studio成功部署,运行和调试我的应用程序。我也尝试了已经发布的App版本。

我在两个独立的Raspberry Pi2上尝试这个。

编辑: 以下是WER报告的内容,其中显示了启动时我的应用激活失败。我甚至用Github的HelloWorld样本测试了它,但也没有运气。

WER-报告:

Version=1
EventType=WindowsPhone8ExecManService
EventTime=130796035482184453
ReportType=1
Consent=1
UploadTime=130796035502965782
ReportIdentifier=5e94ed6f-1a40-11e5-9a6c-b827ebbfa778
Response.BucketId=dbea6798d9ffe78cb5aebf0e09d609d0
Response.BucketTable=5
Response.LegacyBucketId=111672501508
Response.type=4
Sig[0].Name=App
Sig[0].Value=C:\USERS\DefaultAccount\APPDATA\Local\DevelopmentFiles\HelloWorldIOTVS.Release_ARM.Sebastian\HelloWorldIOT.exe
Sig[1].Name=AppVer
Sig[1].Value=99999,
Sig[2].Name=AppID
Sig[2].Value={00000000-0000-0000-0000-000000000000}
Sig[3].Name=AppName
Sig[3].Value=unknown
Sig[4].Name=Reason
Sig[4].Value=EM_WATCHDOG_TIMEOUT
Sig[5].Name=Description
Sig[5].Value=Activation Failure
DynamicSig[1].Name=OS Version
DynamicSig[1].Value=10.0.10075.2.0.0.256.123
DynamicSig[2].Name=Locale ID
DynamicSig[2].Value=1033
State[0].Key=Transport.DoneStage1
State[0].Value=1
FriendlyEventName=WindowsPhone8ExecManService
ConsentKey=WindowsPhone8ExecManService
AppName=Shell Infrastructure Host
AppPath=C:\Windows\system32\SIHOST.EXE
ApplicationIdentity=00000000000000000000000000000000

1 个答案:

答案 0 :(得分:2)

值EM_WATCHDOG_TIMEOUT可能表示您已使用长时间运行的代码阻止了UI线程或等待某些描述。

Mark Radbourne [MSFT]