title: Using x:Name in WPF UserControl yields weird 'namespace does not exist' error
body: <p>I'm adding a WPF UserControl to this gigantic application. Everything compiles and works fine, until I add <code>x:Name="MyCustomUserControlElement"</code> inside the <code>&lt;UserControl&gt;</code>. The namespace <code>xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  </code> is also in the <code>&lt;UserControl&gt;</code>.</p>
  
  <p>The error: </p>
  
  <blockquote>
    <p>Error 32  The type or namespace name 'Common' does not exist in the
    namespace
    'CompanyName.Devision.Common.SoftwareLayout.Company.Devision' (are you
    missing an assembly reference?)   MyCustomUserControl.xaml    Project:
    CompanyName.Devision.Common</p>
  </blockquote>
  
  <p>How can I resolve this?</p>