[英]App Crashing without calling Unhandled Exception method Windows Phone 8
I am developing an app for both WP7 and WP8. 我正在为WP7和WP8开发一个应用程序。
So i finished the WP7 part and it is working properly and now I have updated the target version to Windows Phone 8 and my app crashes without notifying anything. 因此,我完成了WP7部分,并且它可以正常工作,现在我将目标版本更新为Windows Phone 8,并且我的应用程序崩溃而没有通知任何内容。
In xaml designer it shows an error like: 在xaml Designer中,它显示如下错误:
Microsoft.Expression.DesignHost.Isolation.Remoting.RemoteException
I do not understand how to solve this as I have tried the methods available on internet telling to copy a .dll file from one location to another but that also didn't worked in my case. 我不知道如何解决此问题,因为我尝试了Internet上提供的告诉将.dll文件从一个位置复制到另一个位置的方法,但在我的情况下也没有用。
Xaml of page before it crashes ... 页面Xaml崩溃之前...
x:Class="Climatech.View.AddDeviceView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:toolkit="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls.Toolkit"
xmlns:toolkit1="clr-namespace:Microsoft.Phone.Controls.Primitives;assembly=Microsoft.Phone.Controls.Toolkit"
xmlns:controlsPrimitives="clr-namespace:Microsoft.Phone.Controls.Primitives;assembly=Microsoft.Phone.Controls"
xmlns:controls="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
FontFamily="{StaticResource PhoneFontFamilyNormal}"
FontSize="{StaticResource PhoneFontSizeNormal}"
Foreground="{StaticResource PhoneForegroundBrush}"
SupportedOrientations="Portrait" Orientation="Portrait"
mc:Ignorable="d"
shell:SystemTray.IsVisible="True"
DataContext="{Binding AddDeviceModel,Source={StaticResource Locator}}" >
Can anybody help me with this or at least guide me to where the problem is ... 有人可以帮助我吗,或者至少可以指导我解决问题所在...
这里有一个有关调试WP应用程序的有趣演示,也许您可能没有尝试过一些可以帮助解决问题的方法。http ://channel9.msdn.com/Events/Build/2014/3-578
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.