One big problem in MVC is when you change some properties in an exists model.
If there are already some views that bind that properties will stop to works but when you compile the entire project, visual studio doesn’t throw any error or warning.
By default visual studio will compile/check only the view .cshtml opened, in design.
To force Visual Studio to compile all views It’s necessary add this key in the .prj file
<PropertyGroup> <MvcBuildViews>true</MvcBuildViews> </PropertyGroup>