microsoft-ui-xaml: Microsoft.UI.Xaml.Markup.XamlParseException: 'XAML parsing failed.'
occuring at InitializeComponent(), which isn’t telling much, however the Xaml file is pretty simple.

In the generated file the respective line is :
global::Microsoft.UI.Xaml.Application.LoadComponent(this, resourceLocator, global::Microsoft.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application);
<Page
x:Class="Weather.History.WinUI.Pages.SingleChartPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:ig="using:Infragistics.Controls.Charts"
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}"
mc:Ignorable="d">
<Grid>
<ig:XamDataChart/>
</Grid>
</Page>
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 18 (5 by maintainers)
I modified a little bit the chart control properties and now
GetForCurrentView()isn’t playing a role here. TheLoadComponent()failed.Can I find more info than “Xaml parser failed” ?