title: style is not applied at runtime but being applied at design time in wpf
body: <p>I have a simple style in a resource dictionary which is located in a WPFResources.dll, I am accessing this style in another project, I can see that the style is being applied at design time, but when i run the application I am getting an exception that <code>"Cannot find resource named 'IndentCheckBoxStyle'. Resource names are case sensitive"</code>. if i use the StaticResource then I can see this exception if I use the DynamicResource then I dont see any exception, but nothing is visible on the UI.</p>
  
  <p>More about this issue:</p>
  
  <p>I have referenced the WPFResources.dll in my project and merged it in the App.XAML like this:</p>
  
  <pre><code>&lt;Application.Resources&gt;
      &lt;ResourceDictionary&gt;
      &lt;ResourceDictionary.MergedDictionaries&gt;
                  &lt;ResourceDictionary Source="/WPFResources;component/Theme.xaml" /&gt;
          &lt;/ResourceDictionary.MergedDictionaries&gt;        
      &lt;/ResourceDictionary&gt;
      &lt;/Application.Resources&gt;
  </code></pre>
  
  <p>And inside the Theme.xaml i have merged the resource dictionary of the cheboxstyle.</p>
  
  <p>Any one have any idea about this ??</p>
  
  <p>Thanks in advance.</p>