title: After changing namespace in UserControl files, ...g.cs files get errors
body: <p>I copied three classes in from another WPF project and then <strong>changed their namespaces</strong>.</p>
  
  <p>Now when I run the project, I get <strong>errors in the ".g.cs" files</strong> which say that the namespace is incorrect. I change this namespace but when I compile and run again, the ".g.cs" files get regenerated and overwritten with the old namespace version and I get the error again.</p>
  
  <p>What are the files and <strong>how can I make them be regenerate from the <em>current</em> files</strong> instead of some cache that its obviously holding somewhere?</p>
  
  <p>I deleted the \bin and \obj directories and rebuilt but still get the errors.</p>