Always build your MVC Views
To stop those pesky view errors creeping into production, build your MVC views.
Open your .csproj file and change the following tag
<MvcBuildViews>false</MvcBuildViews>
to
<MvcBuildViews>true</MvcBuildViews>
Now when you build your project your views will be checked too.
Written by Mac
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Mvc
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#