When I try to publish my (WPF, C#) application, I get these errors: Cannot publish because a project failed to build. Could not find file \'obj\\x86\\Debug
I've had this error when I'd been swapping git branches. A Rebuild All fixed this for me.