This project is read-only.

MetroWindow XMLParse Exception

Jul 25, 2013 at 5:25 AM
I'm simply trying to create a MetroWindow inside of a barebones WPF application that VS spit out for me. My code for MainWindow.xaml is below:
<Fluent:MetroWindow x:Class="VizWiz.MainWindow"
        Title="MainWindow" Height="350" Width="525">
I've included the Fluent DLL and here's my MainWindow.cs:
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using Fluent;

namespace VizWiz
    /// <summary>
    /// Interaction logic for MainWindow.xaml
    /// </summary>
    public partial class MainWindow : Fluent.MetroWindow
        public MainWindow()
When I go to run the code I get an error saying: "XMLParseException was Unhandled, System.Windows.Markup.StaticResourceHolder' threw an exception".

Any help would be appreciated. I've used the old RibbonWindow control in a previous project, and am very excited to see an update to the style. Thanks!
Jul 25, 2013 at 7:51 AM
        <ResourceDictionary Source="/Fluent;Component/Themes/Metro/White.xaml" />
in App.xaml?
Jul 25, 2013 at 7:46 PM
Merging the ResourceDictionary in App.xaml is a MUST.
Marked as answer by batzen on 6/28/2014 at 2:14 AM
Jul 27, 2013 at 8:34 PM
Yup! That was the fix, paffnutii! Thanks everyone!