Compile views during VS2010 build?

Possible duplicate:
ASP.Net MVC - compiler errors in views

I am using ASP.NET MVC 2 with Visual Studio 2010 and I hate runtime errors. Compile errors that only occur when I view this page almost as badly.

Is there a way my views can compile when I click build?

+5
source share
2 answers

Does MvcBuildViews help ?

To enable MvcBuildViews, make the following changes to the project file

<MvcBuildViews>true</MvcBuildViews>
+8
source

, , - - ( ), -, . visual studio, , ( ). , , .

0

All Articles