Whenever compilation starts one can look into the process, and what are the errors at the compilation time itself, and not to wait till the end of compilation showing "Build Failed".
Go To Tools >> Options
Projects & Solutions >> General
Check this two simple statements which will make your life very easy to see through the compilation process and the error types and information in cluster.
On setting the output window, it will automatically show one window which will be showing you the current project and in that, which file is getting compiled.
And Error List window is helpful, when there are more project files and few error messages, then instead of search the error in the output window, Visual Studio provides the feature which accumulates all the error messages that appeared in the current compilation and shows them in listed form.