Ошибка при использовании Windows Phone 8.1 mmppf - исключение синтаксического анализа при попытке перейти на страницу
Я получаю действительно странное исключение при попытке перейти на страницу в приложении Windows Phone 8.1 (универсально)
A first chance exception of type 'Windows.UI.Xaml.Markup.XamlParseException' occurred in MyApplcation.exe
WinRT information: Cannot create instance of type '%0' [Line: 25 Position: 44]
Это также говорит:
The text associated with this error code could not be found.
У меня есть некоторый код в моем MainPage.xaml.cs, который переходит на страницу с названием details:
private void Button_Click(object sender, RoutedEventArgs e)
{
Frame.Navigate(typeof(Details));
}
Детали имеют очень мало кода:
<Page
x:Class="MyApplcation.Views.Details"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:MyApplcationViews"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:mmppf="using:Microsoft.PlayerFramework"
mc:Ignorable="d"
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
<Page.Resources>
</Page.Resources>
<Grid>
<Rectangle Fill="#FF152853" HorizontalAlignment="Left" Height="260" VerticalAlignment="Top" Width="491" Name="videoBack"/>
<Image x:Name="preview_image" HorizontalAlignment="Left" Height="260" Margin="0,10,0,0" VerticalAlignment="Top" Width="56" Stretch="UniformToFill"/>
<Border x:Name="layoverBorder" CornerRadius="50" BorderBrush="Transparent" BorderThickness="2" Margin="196,63,196,689" Background="#FFFEFEFE" Opacity="1" >
<Image x:Name="layoverImage" HorizontalAlignment="Left" Height="51.671" Margin="20,14.674,0,0" VerticalAlignment="Top" Width="56.372" Source="ms-appx:///Assets/triangle-64 (2).png" Stretch="None" RenderTransformOrigin="0.5,0.5" UseLayoutRounding="False" d:LayoutRounding="Auto">
<Image.RenderTransform>
<CompositeTransform Rotation="90.899"/>
</Image.RenderTransform>
</Image>
</Border>
<mmppf:MediaPlayer x:Name="player" Source="{Binding Video}" Margin="0,0,0,587"/>
</Grid>
</Page>
Когда я удаляю <mmppf:MediaPlayer...
Линия навигации по страницам работает корректно.
Я понятия не имею, с чего начать, поскольку выброшенное исключение настолько расплывчато.