title: Adding dll reference
body: <p>I've got a strange problem adding a dll reference. I've got a WPF application and am trying to use the WPF MDI library: <a href="http://wpfmdi.codeplex.com/" rel="nofollow">http://wpfmdi.codeplex.com/</a></p>
  
  <p>As stated in the instructions (which are very vague), I right-clicked on references in VS2012, clicked on <code>Add reference..</code>, clicked on <code>Browse..</code> and added my dll which I downloaded.</p>
  
  <p>Next, I added the following line in the XAML of my window: <code>xmlns:mdi="clr-namespace:WPF.MDI;assembly=WPF.MDI"</code> as stated in the instructions.</p>
  
  <p>However, when trying to add an <code>&lt;mdi:MdiContainer&gt;</code>, the following error messages are displayed:</p>
  
  <p><code>The type 'mdi:MdiContainer' was not found. Verify that you are not missing an assembly reference and that all referenced assemblies have been built.</code>  </p>
  
  <p><code>The name "MdiContainer" does not exist in the namespace "clr-namespace:WPF.MDI;assembly=WPF.MDI".</code></p>
  
  <p>Any ideas? </p>
  
  <p><strong>EDIT:</strong></p>
  
  <p>Added my XAML file</p>
  
  <pre><code>&lt;Window x:Name="..." x:Class="MyClass.MyClass"
          xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
          xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
          xmlns:mdi="clr-namespace:WPF.MDI;assembly=WPF.MDI"
          Title="" WindowState="Maximized"&gt;
      &lt;Window.Resources&gt;
          &lt;Style TargetType="TreeView"&gt;
              &lt;Setter Property="Padding" Value="0,0,20,0"/&gt;
              &lt;Setter Property="BorderBrush" Value="Gray"/&gt;
              &lt;Setter Property="BorderThickness" Value="0,0,5,0"/&gt;
          &lt;/Style&gt;
      &lt;/Window.Resources&gt;
      &lt;mdi:MdiContainer&gt;&lt;/mdi:MdiContainer&gt;
  &lt;/Window&gt;
  </code></pre>