I\'m trying to get a search contract working on my Win 8 app but after adding a search contract to my project I get the following namespace error:
LayoutAwarePag
I got a long list of similar bugs when compiling an UWP app. Hidden among them however, were several genuine compile errors. When I fixed the genuine errors, the missing references also disappeared.
So, fix any other compile errors first, and see if these "missing in namespace" errors then disappear.
EDIT: My colleague also had this bug in VS 2017. Cleaning the solution via the Build menu didn't work. Right-clicking on the projects in the Solution Explorer and cleaning each one, then re-building, worked.
EDIT2:
Just had this problem again. 22 "missing in namespace" errors.
I had deleted a button handler from a ViewModel, but forgotten to delete the button from the XAML code. When I fixed this genuine error, the 22 "missing in namespace" errors also disappeared.