I copied three classes in from another WPF project and then changed their namespaces.
Now when I run the project, I get errors in the \".g.cs\"
Did you update the namespace of the class in the x:Class attribute on UserControl in the XAML too?
x:Class
UserControl
Failing that, have you tried rebuilding the project?