0
Answer

XMLParseException in WPF Xaml

Prathap

Prathap

9y
635
1
I have added .exe file of 'Project1' to 'Project2' . I want to open a window 'Window1' from that exe so i have added reference of exe in 'Project1'. But when i tried to open 'Window1' an error had shown 'XMLParseException Occured' in the fourth line of the code below in 'Window1'.
'Set property 'System.Windows.ResourceDictionary.Source' threw an exception.' 
<UserControl.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="/resourceDict.xaml"/>
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</UserControl.Resources>
 
 
please someone  help me find out the right way to solve this issue.