title: datatemplate in app.xaml is not getting picked up without any styles?
body: <p>I have a DataTemplate in app.xaml that binds a view to a viewmodel.</p>
  
  <pre><code>&lt;Application.Resources&gt;
      &lt;DataTemplate DataType="{x:Type vm:someviewmodeltype}"&gt;
          &lt;vw:somevwcontrol /&gt;
      &lt;/DataTemplate&gt;
  &lt;/Application.Resources&gt;
  </code></pre>
  
  <p>the above template doesn't get applied if there are no styles. The moment I put a style, something like ... </p>
  
  <pre><code>&lt;Application.Resources&gt;
      &lt;DataTemplate DataType="{x:Type vm:someviewmodeltype}"&gt;
          &lt;vw:somevwcontrol /&gt;
      &lt;/DataTemplate&gt;
      &lt;Style TargetType="TextBlock"&gt;
          &lt;Setter Property="FontSize" Value="20"&gt;&lt;/Setter&gt;
      &lt;/Style&gt;
  &lt;/Application.Resources&gt;
  </code></pre>
  
  <p>datatemplate gets picked up and produces the desired results ... I am not sure whats happening there ... could anybody clarify this ?</p>
  
  <p>Thanks.</p>