Method not found System.Net.Http.Formatting.MediaTypeFormatter.get_SupportedMediaTypes() after adding .NET Standard 2.0 dependency
Turned out to just need a binding redirect to System.Net.Http:
<dependentAssembly>
<assemblyIdentity name="System.Net.Http" publicKeyToken="B03F5F7F11D50A3A" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-4.2.0.0" newVersion="4.2.0.0"/>
</dependentAssembly>
This seem like a bug with .NET 4.6.1. Anyone who have this issue should upgrade to .NET 4.7.2, otherwise you might encounter similar error with different libraries. Like this one: https://github.com/dotnet/corefx/issues/7702