Windows Phone 7 - 应用程序无法启动,没有错误,只是在加载时停止 [英] Windows Phone 7 - App doesn't start, no errors, just bails on load

查看:20
本文介绍了Windows Phone 7 - 应用程序无法启动,没有错误,只是在加载时停止的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在准备发布我的手机应用程序时,我想我会更改所有程序集的版本号.

While preparing my phone app for release, I thought I'd change the version numbers on all my assemblies.

我也遇到了 WCF 服务客户端无法自动生成代理代码的问题,这是我提出的一个已知错误,MS 已为 vNext 修复,但我认为与此无关.无论如何,我对此进行了排序,并且我确信这与我为发布所做的准备有关.

I also had an issue with the WCF service client not auto-genning the proxy code, a known bug I've raised and MS have fixed for vNext, but I don't think its related. In any case I sorted that, and am confident its related to the prep I was doing for release.

我的应用程序现在无法在模拟器或设备中加载.它只是在 CLR 引导期间爆炸,没有错误帮助我.我很困惑,我在十年内第一次拨打了 MS 的支持电话.

My app now doesn't load in either the emulator or the device. It just bombs during the CLR bootstrapping with no error to help me. I'm so flummoxed I opened my first support call in a decade with MS.

这是输出窗口的内容:

'taskhost.exe' (Managed): Loaded 'mscorlib.dll'
'taskhost.exe' (Managed): Loaded 'System.Windows.RuntimeHost.dll'
'taskhost.exe' (Managed): Loaded 'System.dll'
'taskhost.exe' (Managed): Loaded 'System.Windows.dll'
'taskhost.exe' (Managed): Loaded 'System.Core.dll'
'taskhost.exe' (Managed): Loaded 'System.Xml.dll'
'taskhost.exe' (Managed): Loaded '\Applications\Install\A2C90EB3-BF72-4317-B6FB-7D05843D6E15\Install\Company.Product.Mobile.WindowsPhoneUK.dll', Symbols loaded.
'taskhost.exe' (Managed): Loaded '\Applications\Install\A2C90EB3-BF72-4317-B6FB-7D05843D6E15\Install\Company.Product.Mobile.dll', Symbols loaded.
'taskhost.exe' (Managed): Loaded 'Microsoft.Phone.dll'
'taskhost.exe' (Managed): Loaded 'Microsoft.Phone.Interop.dll'
The thread '<No Name>' (0xc7e00a2) has exited with code 0 (0x0).
The thread '<No Name>' (0xcdd0076) has exited with code 0 (0x0).
The program '[232259726] taskhost.exe: Managed' has exited with code 0 (0x0).

看到了吗?没有错误!没什么可继续的.好像我不能在 blummin' 手机上设置 Fusion 日志.

See? No errors! Nothing to go on. It's not like I can set the Fusion log on the blummin' phone.

日志应该显示更多的程序集加载.我已经撤销了我的更改,版本号不再是自动的,我想不出我可能做的任何其他事情会导致这种情况!

The log should show many more assemblies loading. I have reversed my changes, the version numbers are no longer auto and I can't think of anything else I might have done that would have caused this!

绝对需要源代码控制.

谢谢卢克

推荐答案

上周我遇到了同样奇怪的错误.

Last week I got the same strange bug.

在创建一个新的解决方案(构建和运行没有问题)后,我发现更改命名空间导致了错误.

After creating a new solution (which builded and runned without problems) I discovered that changing the namespace caused the bug.

希望有帮助.

这篇关于Windows Phone 7 - 应用程序无法启动,没有错误,只是在加载时停止的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆