I had a similar problem, but my issue was that I had removed a couple of folders/namespaces from a WPF UI library, and forgotten to remove the corresponding XmlnsDefinition entries from the library's AssemblyInfo.cs file. I had had them all pointing to "http://schemas.foo.com/ui" to make it easier to reference in .xaml files, like so:
[assembly: XmlnsPrefix("http://schemas.foo.com/ui", "ui")]
[assembly: XmlnsDefinition("http://schemas.foo.com/ui", "Foo.UI.Common.Behaviors")]
[assembly: XmlnsDefinition("http://schemas.foo.com/ui", "Foo.UI.Common.Converters")]
[assembly: XmlnsDefinition("http://schemas.foo.com/ui", "Foo.UI.Common.Commands")]
[assembly: XmlnsDefinition("http://schemas.foo.com/ui", "Foo.UI.Common.ViewModels")]
[assembly: XmlnsDefinition("http://schemas.foo.com/ui", "Foo.UI.Common.UserControls")]
[assembly: XmlnsDefinition("http://schemas.foo.com/ui", "Foo.UI.Common.Extensions")]
in AssemblyInfo.cs, and:
xmlns:ui="http://schemas.foo.com/foo/ui/"
in MainWindow.xaml.
I removed ViewModels and Commands, but forgot to remove the [assembly:] attributes, so it was looking for them when I rebuilt. Removed the offending lines, et voila.
Figured I'd share for anyone else who did stuff like this and might be scratching their heads.