I've searched everywhere for the answer but none of the questions in this website (or the MSDN website) solved it. Everytime I create a new Windows Phone 8.1 project I get the XamlParseException
, even when I choose the Blank App project. I will list everything I tried.
Here is my App.xaml code:
<Application
x:Class="App2.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:App2">
Here is my MainPage.xaml code:
<Page
x:Class="App2.MainPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:App2"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d"
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
<Grid>
</Grid>
I got it to work just by updating to Windows 10 1089, don't forget to enable Developer Mode once you upgrade, since "Sideload Apps" isn't enough.