System.NotSupportedException when calling OData service from NetCoreApp2.1
问题 I have set up a multi targetting (net4.5.2/netstandard2) class library allowing to consume one of our enterprise OData services. To access this OData service we use a proxy class generated with the OData v4 Client Code Generator (v7.5.0) Unfortunately, when trying to use my library in a Netcoreapp2.1 application I encounter an issue as soon as I try to enumerate a collection. Container.MyDataSet.ToList(); produces the following exception : "System.NotSupportedException : This target framework