I'm using Hudson as Continuous Integration Server and Visual Studio's MSBuild build system.
When I commit new code to the SVN repository, sometimes I forget to add a new view .cshtml file just added to the project.
MSBuild won't catch this, that is, I end up with:
Build succeeded.
    0 Warning(s)
    0 Error(s)
Problem: I'll only see that I forgot to add the view to the project during runtime when I try to access that view.
I have already enabled <MvcBuildViews>true</MvcBuildViews> in .csproj file as described here, but it does not solve this problem.
When a View does not exist, Visual Studio signals that with font-color = Red inside an Action method with this message: Cannot resolve view 'ViewName':

The code still compiles with no errors. This is great, but my case is different: the View is there and I only forgot to commit it.
Hope someone knows how to overcome this...
 
     
    