title: Find a view for a ContentControl in a ResourceDictionary
body: <p>I'm trying to make Caliburn Micro find my view, which is located in a ResourceDictionary, to be used in a ContentControl.</p>
  
  <pre><code>&lt;Window x:Class="RSA.UI.Prosit.Sales.Views.GenericPrositDialog"  
          &lt;!--  ... --&gt;&gt;
      &lt;Window.Resources&gt;
          &lt;ResourceDictionary&gt;
              &lt;ResourceDictionary.MergedDictionaries&gt;
                  &lt;ResourceDictionary Source="PolicyOverview/PolicyOverviewDialogs.xaml"/&gt;
                  &lt;!-- ... --&gt;
              &lt;/ResourceDictionary.MergedDictionaries&gt;            
          &lt;/ResourceDictionary&gt;
      &lt;/Window.Resources&gt;
      &lt;Grid MaxHeight="{Binding MaxWindowHeight}" HorizontalAlignment="Stretch" VerticalAlignment="Stretch"&gt;
          &lt;ContentControl Content="{Binding}"&gt;&lt;/ContentControl&gt;
      &lt;/Grid&gt;
  &lt;/Window&gt;
  </code></pre>
  
  <p>In PolicyOverviewDialogs.xaml I have </p>
  
  <pre><code>&lt;DataTemplate DataType="{x:Type vm:NotesViewModel}"&gt;
  ...
  </code></pre>
  
  <p>How can I get Caliburn Micro's <code>WindowManager</code> to find the view?</p>
  
  <p>Trying things like</p>
  
  <pre><code>_windowManager.ShowDialog(notesVM, null, settings);
  _windowManager.ShowDialog(notesVM, "GenericPrositDialogView", settings);
  </code></pre>
  
  <p>but they all come up short with a message "Cannot find view for <code>NotesViewModel</code>". Anyone has experience with this?</p>
  
  <p>Everything works fine if I make the view its' own file "NotesView.xaml", but that's not what I want.</p>