c# - Error using Windows Phone 8.1 mmppf - getting parse exception when trying to navigate to page -
i'm getting weird exception when trying navigate page in windows phone 8.1 application (universal)
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]
it says:
the text associated error code not found.
i have code in mainpage.xaml.cs navigates page called details:
private void button_click(object sender, routedeventargs e) { frame.navigate(typeof(details)); }
details has little code:
<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>
when remove <mmppf:mediaplayer...
line page navigation works correctly.
i have no clue start since exception thrown vague.
Comments
Post a Comment