首页 文章

Windows Phone 8.1在启动时抛出FileLoadException

提问于
浏览
0

我目前正在构建Windows Phone 8.1应用程序(WinRT) . 我可以在Visual Studio 2013中以调试模式构建它,没有任何问题 . 它也可以在模拟器和真实设备上运行 . 但是当我在发布模式下构建应用程序时,它会立即在模拟器和设备上崩溃 .

在Visual Studio的“调试输出”窗口中,我可以看到启动时抛出了FileLoadException . 这意味着:

找到托管程序集但无法加载时引发的异常 .

https://msdn.microsoft.com/de-de/library/system.io.fileloadexception%28v=vs.110%29.aspx

不幸的是我无法看到哪个组件导致问题!有没有办法让信息可见?

A first chance exception of type 'System.IO.FileLoadException' occurred in MarketIQ.exe
A first chance exception of type 'System.IO.FileLoadException' occurred in mscorlib.ni.dll
'MarketIQ.exe' (CoreCLR: .): Loaded 'C:\windows\system32\en-US\mscorlib.debug.resources.dll'. Module was built without symbols.
A first chance exception of type 'System.ArgumentException' occurred in mscorlib.ni.dll
A first chance exception of type 'System.ArgumentException' occurred in mscorlib.ni.dll
'MarketIQ.exe' (CoreCLR: .): Loaded 'C:\Data\SharedData\PhoneTools\AppxLayouts\c53a5ef4-9f4f-4a1d-a5f4-2e73b5806daeVS.Release_AnyCPU.oprins\Log.Model.Client.DLL'. Cannot find or open the PDB file.
The program '[3020] MarketIQ.exe' has exited with code -1073741189 (0xc000027b).

1 回答

  • 0

    问题取决于设备 . 工厂重置后,应用程序现在可以顺利运行 .

相关问题