Compile Views in ASP.NET MVC -


i want msbuild task compile views can see if there compile time errors @ well... compile time. ideas?

i frankly recommend razorgenerator nuget package. way views have .designer.cs file generated when save them , on top of getting compile time errors views, precompiled assembly (= faster warmup) , resharper provides additional well.

to use include razorgenerator nuget package in asp.net mvc project , install "razor generator" extension under item under tools -> extensions , updates

we use , overhead per compile approach less. on top of recommend .net demon redgate further reduces compile time impact substantially.

hope helps.


Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -