I have a .NET Framework library provided by a vendor (CyberSource payment processor - https://github.com/CyberSource/cybersource-sdk-dotnet).
This API is being referenced by an ASP.NET Core 3.0 application.
Everything compiles fine but when I attempt to call a method in the .NET Framework library, I get the following exception:
{"Method not found: 'Void System.ServiceModel.EndpointAddress..ctor(System.Uri, System.ServiceModel.EndpointIdentity, System.ServiceModel.Channels.AddressHeaderCollection)'."}
Things I've determined:
- Vendor doesn't provide a .NET Core or .NET Standard -compliant library
- Library source is not portable as-is to .NET Standard or .NET Core
Is there any reasonable way to make this work?