XAML parsing error. Display works fine in VS2010 RRS feed

  • Question

  • I've noticed this problem on a couple of different things now. I have a converter defined as a resource dictionary lookup in my App.xaml. But when I open my xaml UserControl in Blend it throws an exception that it can't find the static resource extension converter. In VS2010 the UserControl opens with 0 issues in the desinger. Any help would be greatly appreciated.

    My App.xaml - The converter in question is defined in the Skins/DataGridSkin.xaml resource dictionary.

                    <ResourceDictionary Source="Skins/DataGridSkin.xaml"/>
                    <ResourceDictionary Source="Skins/AccountsSkin.xaml"/>
           <ResourceDictionary Source="Simple Styles.xaml"/>
                    <ResourceDictionary Source="Skins/Accordion.xaml" />
                <vm:ViewModelLocator x:Key="Locator" d:IsDataSource="True" />



    Saturday, August 6, 2011 12:16 AM


  • I figured out the issue maybe someone can explain to me why.


    So the issue seems to not be with my UserControl but the fact that my UserControl has a DataGrid RowDetailsDataTemplate to another UserControl that was also using the converter. By adding the <ResourceDictionary Source="Skins/DataGridSkin.xaml"/> to the RowDetails user control Blend starting working again. What I don't understand is why in this situation is the App.xaml resource dictionary includes being ignored.

    • Marked as answer by glavian2009 Wednesday, August 10, 2011 3:44 PM
    Saturday, August 6, 2011 12:32 AM