title: How to disable precompiled views in net core 2.1+ / net 5 for debugging?
body: <p>Yesterday I updated to net core 2.1.</p>
  
  <p>Now if I am debugging, the views getting precompiled, which ofcourse takes a long time during startup... Is it possible to fall back to the previous behavior, where the Views are compiled just in time, if it is needed?</p>
  
  <p><a href="https://i.stack.imgur.com/iezid.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/iezid.jpg" alt="Output"></a></p>
  
  <p>I have no reference related to precompilation in my csproj. Is it something that comes from the meta package?</p>
  
  <pre><code>  &lt;ItemGroup&gt;
      &lt;PackageReference Include="JetBrains.Annotations" Version="11.1.0" /&gt;
      &lt;PackageReference Include="Microsoft.AspNetCore.All" Version="2.1.0" /&gt;
      &lt;PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="2.1.0" PrivateAssets="All" /&gt;
      &lt;PackageReference Include="Swashbuckle.AspNetCore" Version="2.5.0" /&gt;
      &lt;!--&lt;PackageReference Include="Microsoft.AspNetCore.Mvc.Razor.ViewCompilation" Version="2.0.0" PrivateAssets="All" /&gt;--&gt;
    &lt;/ItemGroup&gt;
  </code></pre>