top of page
  • Twitter Social Icon
  • LinkedIn Social Icon
  • Facebook Social Icon
Search

System.Net.Http v4.2.0.0 not loading

  • Writer: Don Richardson
    Don Richardson
  • Aug 5, 2019
  • 1 min read

So.. it turns out that the incorrect dll is loaded via nuget.

As a work-around, redirect your manifest to look for 4.0.0.0 and it works.


Add this to your runtime dependency list in the config.

<dependentAssembly>

<assemblyIdentity name="System.Net.Http" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />

<bindingRedirect oldVersion="0.0.0.0-4.2.0.0" newVersion="4.0.0.0" />

</dependentAssembly>

 
 
 

Recent Posts

See All
One object Multiple implementations

So, I need to be able to execute a specific interface implementation based on the interface being used on the newly instantiated object....

 
 
 
SSRS in Visual Studio 2019 and GIT

One of the problems with BIDS is that it wont allow you to have folders and subfolders. You can have a project for each folder which will...

 
 
 

Comments


  • Grey Twitter Icon
  • Grey LinkedIn Icon
  • Grey Facebook Icon

© 2023 by Talking Business.  Proudly created with Wix.com

Thanks for submitting!

SIGN UP AND STAY UPDATED!
bottom of page