Possible Duplicate:
ASP.Net MVC - Compiler Errors in Views
I'm using ASP.NET MVC 2 with Visual Studio 2010, and I hate runtime errors. Compile errors that only happen when I browse that page are almost as bad.
Is there a way I can have my views compile when I hit build?
Does enabling MvcBuildViews help?
To enable MvcBuildViews make the following change in your project file
<MvcBuildViews>true</MvcBuildViews>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With