WP7应用程序崩溃后立即部署 [英] WP7 App Crashes Immediately upon deploy

查看:173
本文介绍了WP7应用程序崩溃后立即部署的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

好吧,所以我正在为Windows Phone开发一个应用程序,我似乎不知道这是什么问题。



应该说我的应用程序编译没有警告,没有错误,nada。看起来像个魅力。



但是,当我将应用程序构建到模拟器或我手头上的两个不同的WP7设备中的任何一个时,



查看输出:

 'taskhost.exe'(管理):加载'mscorlib.dll'
'taskhost.exe'(管理):加载'System.Windows.RuntimeHost.dll'
'taskhost.exe'(Managed):Loaded'System.dll'
'taskhost.exe'(Managed):Loaded'System.Windows.dll'
'taskhost.exe'管理):加载'System.Core.dll'
'taskhost.exe'(管理):加载'System.Xml.dll'
'taskhost.exe'(管理):加载'\Applications \Install\6D7C6AA5-7D7C-4056-8BF7-1097F7FBAC40\Install\Subsplash.ExampleLibrary.dll',加载符号。
'taskhost.exe'(管理):加载'\Applications\Install\6D7C6AA5-7D7C-4056-8BF7-1097F7FBAC40\Install\ClientCore.dll',加载符号。
'taskhost.exe'(Managed):Loaded'System.Xml.Linq.dll'
'taskhost.exe'(Managed):Loaded'Microsoft.Phone.dll'
'taskhost .exe'(Managed):Loaded'Microsoft.Phone.Interop.dll'
线程'< No Name>'(0xda1003e)已退出代码0(0x0)。
线程'< No Name>'(0xd660032)已退出,代码为0(0x0)。
程序'[206110770] taskhost.exe:Managed'已退出,代码为0(0x0)。

我猜这可能是开发环境的问题。还有一个细节是,几个版本以前这是工作100%,然后我改变了一些命名空间和文件夹名称,从那时起这个问题阻止我们做任何类型的开发。但是,我很困惑为什么会出现与命名空间名称更改和文件夹更改相关的问题,但没有生成错误。



想法?

$如果你已经做了任何命名空间重命名(特别是App对象),请检查项目中的启动对象设置是否正确。

>

Okay, so I'm developing an app for Windows Phone, and I can't seem to figure out what this issue is.

To start with, I should say my application compiles with no warnings, no errors, nada. Looks like a charm.

However, when I build the application to either the emulator, or any one of the two different WP7 devices I have on hand, the splash screen shows for a split second, and I'm returned to the home screen of the device.

Looking at the output:

'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\6D7C6AA5-7D7C-4056-8BF7-1097F7FBAC40\Install\Subsplash.ExampleLibrary.dll', Symbols loaded.
'taskhost.exe' (Managed): Loaded '\Applications\Install\6D7C6AA5-7D7C-4056-8BF7-1097F7FBAC40\Install\ClientCore.dll', Symbols loaded.
'taskhost.exe' (Managed): Loaded 'System.Xml.Linq.dll'
'taskhost.exe' (Managed): Loaded 'Microsoft.Phone.dll'
'taskhost.exe' (Managed): Loaded 'Microsoft.Phone.Interop.dll'
The thread '<No Name>' (0xda1003e) has exited with code 0 (0x0).
The thread '<No Name>' (0xd660032) has exited with code 0 (0x0).
The program '[206110770] taskhost.exe: Managed' has exited with code 0 (0x0).

I'm guessing that it may be an issue with the dev environment. One more detail is that a few versions ago this was working 100%, then I changed some namespaces and folder names, and since then this issue has prevented us from doing any kind of dev. However, I'm confused as to why there would be a problem related to namespace name changing and folder change, but no build errors.

Thoughts?

解决方案

If you've done any namespace renaming (especially of the App object) double check the startup object in the project is set correctly.

这篇关于WP7应用程序崩溃后立即部署的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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