Application works if installed from PC, but crashes if installed from store (WinPhone 7.5)

一世执手 提交于 2019-12-12 19:40:57

问题


I have a project that runs on Windows Phone 8 and Windows Phone 7.5.

It works fine on 8 devices in all cases, but on Windows Phone 7.5 it crashes on startup with following message (only if installed from store):

If the application is built on PC and uploaded to device it works fine. I tried numerous things but nothing helped.


回答1:


Looks like it was a store issue. Should be resolved now.

Issue with 7.1 XAP submissions between Dec 04 and Dec 12 (Beta and Non-beta apps)




回答2:


Well, my assumption is that your XAP file does not contains all the DLLs needed. Make sure the references to those DLLs indicate CopyLocal=True. Also it would be nice if you can share the beta link to check your stack traces.

P.S. this may help:

Troubleshooting Windows Phone App Problems that occur after Submitting

Your Windows Phone 7/8 application tests fine, but fails after publishing to Marketplace or after private app distribution




回答3:


I guess it's a problem with the Async pack binding. You might want to try to remove the package and readd. More below:

Async Targeting Pack troubleshooting

In the past I was able to repro many post certification issues just by run the release version of the app from Visual Studio and simply unplug the cable while it is running. Sure you can't debug it but at least you can repro and test it without submitting it.




回答4:


Thank you guys for your advice, but error has gone away. I don't do anything, i think that it was something with store...



来源:https://stackoverflow.com/questions/20466970/application-works-if-installed-from-pc-but-crashes-if-installed-from-store-win

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!