Visual Studio 2015 project builds failed but no errors
I've been seeing regular instances of VS2015 reporting "build failed" but not showing any errors in the error window. Coming from an ancient command line background, I finally went looking at the output window. The output window showed the compiler reporting errors but those errors were not being captured to the error window. I never saw this problem under VS2013.
The usual closing of VS and reopening of it hasn't cleared this condition. (In VS2013 this was a common way to kick XAML intellisense in the rear and make it stop fixating on an "error" that had been fixed.)
So far this has always been related to compilation errors in a XAML page CS file. I can't remember seeing it in a non-page CS file.
Until one figures out to go check the output window, things like intellisense reporting in the error window invalid references to objects in the XAML, but no compiler errors being shown in the error window can get VERY confusion since it "appears" like the errors are the intellisense reporting XAML errors. But they actually aren't. The XAML errors are just symptoms of CS files failing to compile but not having their errors reporting in the error window.
It's possible that you're not seeing all the build errors.
By changing the drop down list after the "Messages" icon from "Build + Intellisense" to "Build Only", you will be able to see errors thrown during the build that are not detected by Intellisense. See the screenshot below:
I have had the same problem and closing and re-opening Visual Studio clears it up.
I had also tried Cleaning the solution and the Clean Failed as well.
There may be other scenarios where this does not do the trick, but in my case restarting has resolved this for me.