Pau*_*zen 22 .net crash exception windows-phone-7
好的,所以我正在为Windows Phone开发一个应用程序,我似乎无法弄清楚这个问题是什么.
首先,我应该说我的应用程序编译没有警告,没有错误,nada.看起来像一个魅力.
但是,当我将应用程序构建到模拟器或我手头上的两个不同WP7设备中的任何一个时,启动屏幕会显示一瞬间,然后我将返回到设备的主屏幕.
看输出:
'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).
Run Code Online (Sandbox Code Playgroud)
我猜这可能是开发环境的一个问题.还有一个细节是,在几个版本之前,这是100%工作,然后我更改了一些名称空间和文件夹名称,从那以后这个问题阻止我们做任何类型的开发.但是,我很困惑为什么会出现与命名空间名称更改和文件夹更改有关的问题,但是没有构建错误.
思考?
Nig*_*son 64
如果您已完成任何命名空间重命名(尤其是App对象),请仔细检查项目中的启动对象是否设置正确.