I keep getting a strange error inside my App.xaml
file:
Element is already the child of another element.
My App.xaml file looks like this:
<Application xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
x:Class="Celerior.Annapurna.SL.App">
<Application.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="ProvisiorResourceDictionary.xaml"/>
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</Application.Resources>
</Application>
The error is reported for the entire ResourceDictionary
element (from lines 5 to 9).
ProvisiorResourceDictionary.xaml
contains a number of styles and templates. Nothing exciting in my opinion.
Does anyone know what is wrong?
Kind regards,
Ronald Wildenberg