Select to view content in your preferred language

Error: Element is already the child of another element

1364
1
Jump to solution
01-31-2012 10:19 AM
ShaningYu
Honored Contributor
Received such an error as below

Error 1 Element is already the child of another element.   C:\...\App.xaml 11 17

<Application  
    x:Class="ArraProjects.App"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">

    <Application.Resources>
        <ResourceDictionary>
            <!-- Add all resource dictionaries -->
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="Assets/Styles.xaml"/>
                <ResourceDictionary Source="Assets/ResApp.xaml"/>
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </Application.Resources>
</Application>

I searched around but got no good answer.  How can this bug be fixed?  Thanks in advance if you can share your experience.
0 Kudos
1 Solution

Accepted Solutions
JenniferNery
Esri Regular Contributor
0 Kudos
1 Reply
JenniferNery
Esri Regular Contributor
0 Kudos