I have created a custom control in WPF. While working with that custom control in WPF designer, it is throwing "TargetType does not match the type of element" in the designer. But I'm getting a visual studio designer exception using the WPF Controls library. Styles are in another project and the ResourceDictionary is Merged in app.xaml.
I have also noticed that the issue only happens when selecting x64 as the active solution platform as opposed to the default Any CPU, but this also means that I have to switch change from x64 when running in Debug mode.