This is very strange.
I have an XAML file that looks as follows...
When namespaces are all correct changing the target platform from x86 to x64 or vice versa and rebuilding the project often does the trick.