I’ve been having the same problem with my project. I tried this solution but it gave me an unkown error and failed to build completely. I still haven’t attempted reinstalling completely the MS Visual studio as @AlexHeller8964 suggests. I tried building a new clean project from a template and that worked fine, so I’m assuming it is not a MS Visul studio problem, but something that has to do with my project? Any ideas on how to try to solve this situation?