I'm using library with netstandard2.0
and net461
in my aspnet core application and while all works good (thanks to System.ServiceModel.* shims), on some actions I'm getting this error:
System.TypeLoadException: 'Could not load type 'System.ServiceModel.WS2007FederationHttpBinding' from assembly 'System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.'
Any way to to make it work?