I have a NetStandard2.0 library that implements our caching logic. It has a dependency on Couchbase.Extensions.Caching (1.0.1). This library is used by a Web API project (netcore2.0) and works just fine.
However, this library is also referenced by a Windows Service project (framework 4.7.1). When the couchbase client is initialized by the DI container I get the following exception:
Method not found: 'Void Couchbase.Configuration.Client.ClientConfiguration.set_LoggerFactory(Microsoft.Extensions.Logging.ILoggerFactory)'.
How do I get the Framework 4.7.1 project to use the NetStandard2.0 version of Couchbase.NetClient.dll instead of the “net45” version?