title: Referencing Themes in a dll in WPF
body: <p>I am using an opensource wpf TreeListView control. The control is a library project with a themes folder in it containing some xaml theme files. In my wpf project, I have got a reference to the control dll and I would like to know how to reference the dll themes in app.xaml. I tried doing something like this but it throws exception saying can't find the treelistview assembly</p>
  
  <pre><code>&lt;Application.Resources&gt;
      &lt;ResourceDictionary&gt;
          &lt;ResourceDictionary.MergedDictionaries&gt;           
              &lt;ResourceDictionary Source="/PresentationFramework.Aero;component/themes/Aero.NormalColor.xaml" /&gt;
              &lt;ResourceDictionary Source="/TreeListView;component/themes/Aero.NormalColor.xaml" /&gt;
      &lt;/ResourceDictionary&gt;
  &lt;/Application.Resources&gt;
  </code></pre>
  
  <p>At the moment I have to copy all the theme files in my wpf project locally to make it work like this. </p>
  
  <pre><code>&lt;Application.Resources&gt;
      &lt;ResourceDictionary&gt;
          &lt;ResourceDictionary.MergedDictionaries&gt;               
              &lt;ResourceDictionary Source="/PresentationFramework.Aero;component/themes/Aero.NormalColor.xaml" /&gt;
           &lt;ResourceDictionary Source="themes/aero.normalcolor.xaml" /&gt;
          &lt;/ResourceDictionary.MergedDictionaries&gt;
      &lt;/ResourceDictionary&gt;
  &lt;/Application.Resources&gt;
  </code></pre>
  
  <p>Is there a way to reference theme files directly in the TreeListView dll like referencing default themes.</p>
  
  <p>Awaiting
  Nabeel </p>