title: WPF Theme resources are not used
body: <p>In the application I am working on a requirement is to have support for windows themes (Aero, Classic, Luna). </p>
  
  <p>I have a few custom controls which I want to respect the current theme. </p>
  
  <p>I have created themes-folder and placed </p>
  
  <pre><code>/themes/classic.xaml
  /themes/luna.normalcolor.xaml
  /themes/aero.normalcolor.xaml
  /themes/generic.xaml
  </code></pre>
  
  <p>In the AssemblyInfo.cs of the project containing the custom controls I have defined ThemeInfo as the following:</p>
  
  <pre><code>[assembly: ThemeInfo(
      ResourceDictionaryLocation.SourceAssembly, 
      ResourceDictionaryLocation.SourceAssembly 
  )]
  </code></pre>
  
  <p>When I change theme in windows, all standard controls switch theme, but my custom controls refuses to read from anything but generic.xaml</p>
  
  <p>Am I missing anything obvious here?</p>