title: WPF, moving XAML files to another project
body: <p>I just moved a couple of WPF User controls from one project to another and now I get all these errors when I compile, the same namespaces are said to be missing from all the user controls CodeDom, Windows, Diagnostics and ComponentModel</p>
  
  <pre><code>Error   9   The type or namespace name 'CodeDom' does not exist in the namespace 'Brodit.Etikettsystem.Modules.System' (are you missing an assembly reference?) C:\Users\per\Desktop\Etikettsystem\Brodit.Etikettsystem.Modules\obj\Debug\Customers\CustomersView.g.cs  48  17  Brodit.Etikettsystem.Modules
  Error   1   The type or namespace name 'Windows' does not exist in the namespace 'Brodit.Etikettsystem.Modules.System' (are you missing an assembly reference?) C:\Users\per\Desktop\Etikettsystem\Brodit.Etikettsystem.Modules\obj\Debug\Customers\CustomersView.g.cs  40  49  Brodit.Etikettsystem.Modules
  Error   7   The type or namespace name 'Diagnostics' does not exist in the namespace 'Brodit.Etikettsystem.Modules.System' (are you missing an assembly reference?) C:\Users\per\Desktop\Etikettsystem\Brodit.Etikettsystem.Modules\obj\Debug\Customers\CustomersView.g.cs  47  17  Brodit.Etikettsystem.Modules
  </code></pre>
  
  <p>After the move I changed all the namespaces to match the new project name, I've tried deleting the obj folder and running custom tool for all the xaml files. Any ideas on what I should do to fix this.</p>