This is very strange.
I have an XAML file that looks as follows...
I usually get this problem when renaming custom control classes, or, as in your case, changing the name of the class's namespace. If you don't use Visual Studio's refactoring, then you have to manually change the names in both XAML and C# files.
Refactoring is only good when you just rename the class, for namespace rename, you have to do it manually.
For InitializeComponent, look in [Project Folder]\obj\Debug\.