Precompile ASP.NET Web Pages razor (*.cshtml) files -
for mvc project, there <mvcbuildviews>true</mvcbuildviews>
property can set in csproj file, see e.g. here. however, has no effect in web pages kind of project. there similar switch use?
note: typical web pages project of type "web site", i.e. no csproj. solution, however, uses web pages inside normal web application project have csproj, compiles fine, runs fine, don't have compile-time checking of *.cshtml
files i'd add.
i think should take @ razorgenerator implementing soultion want. not sure if work web site project
Comments
Post a Comment