title: How to check ASP.NET Core RC2/1.0 Razor views for compile errors?
body: <p>Razor view precompilation <a href="https://github.com/aspnet/Mvc/issues/3917">has been removed from RC2</a> due to <a href="https://github.com/aspnet/Mvc/issues/3993#issuecomment-175155831">issues with getting it to work in .NET Core</a>.</p>
  
  <p>Is there a way to fail a CI build if there's a syntax error in one of the .cshtml files, or will this not be possible until precompilation is back?</p>
  
  <p>(I'm testing this on the HelloMvc project from <a href="https://github.com/aspnet/cli-samples">ASP.NET CLI samples</a>. The <code>Views\Home\Index.cshtml</code> file can have literally anything in it and <code>dotnet build</code> will still succeed.)</p>