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
Post a Comment