title: UWP: Compile error when using x:DataType property on DataTemplate
body: <p>I'm creating a new UWP Blank App project targeting the Anniversary Build of Windows. Here's the markup of my only page (which is named MainPage.xaml by the default template):</p>
  
  <pre><code>&lt;Page
  x:Class="App1.MainPage"
  xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  xmlns:local="using:App1"
  xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  mc:Ignorable="d"&gt;
  
  &lt;Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}"&gt;
      &lt;Grid.Resources&gt;
          &lt;DataTemplate x:Key="MyDataTemplate" x:DataType="local:BindyThing"&gt;
  
          &lt;/DataTemplate&gt;
      &lt;/Grid.Resources&gt;
  &lt;/Grid&gt;
  </code></pre>
  
  <p></p>
  
  <p>The class BindyThing is declared like this in a CS file:</p>
  
  <pre><code>namespace App1
  {
       public class BindyThing
       {
       }
  }
  </code></pre>
  
  <p>As you can see from the markup above, I'm attempting to create a DataTemplate to render BindyThing. However, when I compile, I get the following error:</p>
  
  <p><code>The XAML Binary Format (XBF) generator reported syntax error '0x09C4' : Property Not Found
  </code></p>
  
  <p>This error disappears when I comment out the declaration of the DataTemplate. Does anyone have any insight as to why I'm getting this? All help appreciated. Thank you!</p>