When I have a syntax error in my razor views, I receive a "View not found" exception:
"The view '[ViewName]' or its master was not found or no view engine supports the searched locations. The following locations were searched:...."
I tried to find the problem and I detected that the real compilation error (with real feedback about the line where the error has occured) is shown in Console.Error.
The exception should be thrown by the BuildManager (System.Web.Compilation) instead of being reported in Console.Error.
I'm using Microsoft MVC 3 (System.Web.Mvc) and Mono 2.10.8.
Sorry for my bad English.
Any suggestion or workaround will be appreciated.