title: Type reference cannot find public type named
body: <p>I am getting error like "Type reference cannot find public type named 'Sign'" in xaml. how can i resolve it. the Sign class is in the same assembly.</p>
  
  <pre><code>&lt;DataTemplate DataType="{x:Type local:Sign}"&gt;
      &lt;Expander Padding="4"
                IsExpanded="{Binding RelativeSource={
                      RelativeSource Mode=FindAncestor, AncestorType={
                         x:Type ListBoxItem}}, Path=IsSelected}"&gt;
          &lt;Expander.Header&gt;
              &lt;TextBlock Text="{Binding Name}" ... /&gt;
          &lt;/Expander.Header&gt;
          &lt;DockPanel LastChildFill="True"&gt;
              &lt;Border DockPanel.Dock="Left" CornerRadius="16" BorderBrush="WhiteSmoke" Background="AliceBlue" BorderThickness="5" HorizontalAlignment="Center" VerticalAlignment="Center"&gt;
                  &lt;Image Source="{Binding Icon}" Width="90" Height="90" Stretch="Fill" /&gt;
              &lt;/Border&gt;
              ...
          &lt;/DockPanel&gt;                
      &lt;/Expander&gt;
  </code></pre>
  
  <p></p>