title: Different versions of System.Net.Http in Reference Assemblies and Windows Framework directory
body: <p>I'm updating my solution to target .NET Framework 4.8. As part of this process, Visual Studio 2019 updated my Web.config binding redirects for System.Net.Http from 4.0.0.0 to 4.2.0.0. This made sense.</p>
  
  <p>However, when I try to load my application in IIS, it fails trying to find System.Net.Http version 4.2.0.0.</p>
  
  <p>I've discovered this is because the assembly version of System.Net.Http in <code>C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.8</code> is 4.2.0.0 (file version 4.8.3761.0) whereas the assembly version of System.Net.Http in <code>C:\Windows\Microsoft.NET\Framework64\v4.0.30319</code> is 4.0.0.0 (file version 4.8.3752.0).</p>
  
  <p>When I manually revert my Web.config binding redirect to 4.0.0.0 instead of 4.2.0.0, my web application works. However, I don't want to do that.</p>
  
  <p>How do I update the Windows copy of .NET Framework 4.8 so it's in sync with Visual Studio? I've installed all the latest Windows 10 updates, but it's not clear how to do this.</p>