title: What do the TargetFramework settings mean in web.config in ASP .NET MVC?
body: <p>One of our ASP.NET MVC 5 web applications has the following web.config settings:</p>
  
  <pre><code>&lt;system.web&gt;
    &lt;compilation debug="true" targetFramework="4.6" /&gt;
    &lt;httpRuntime targetFramework="4.5" /&gt;
    &lt;!--... many other things --&gt;
  &lt;/system.web&gt;
  </code></pre>
  
  <p>It is not clear why are two targetFramework settings, and it seems to be wrong to compile targeting 4.6 then trying to run under 4.5...</p>
  
  <p>Obviously I am missing something, but what?</p>