Skip to content

The provider does not work on .NET Core #111

Description

@psfinaki

I was struggling with extracting data from my Azure Table Storage using the .NET API and then discovered this wonderful type provider - thanks for creating it!

Now, the thing is that my app runs on .NET Core and this provider does not seem to work properly with that, at least out of the box.

I have created basic console apps for .NET Framework and .NET Core, installed there the nuget and added the following code:

open FSharp.Azure.StorageTypeProvider

type Azure = AzureTypeProvider<"proper connection string">

[<EntryPoint>]
let main argv = 
    let entities = Azure.Tables.TestTable.Query().Execute()
    0

.NET Framework app does the job, .NET Core app throws MissingMethodException:

System.MissingMethodException: 'Method not found: 'System.Collections.Generic.IEnumerable`1<!!0> 
Microsoft.WindowsAzure.Storage.Table.CloudTable.ExecuteQuery(Microsoft.WindowsAzure.Storage.Table.TableQuery`1<!!0>, 
Microsoft.WindowsAzure.Storage.Table.TableRequestOptions, Microsoft.WindowsAzure.Storage.OperationContext)'.'

Can I do something about it? Maybe add some binding redirect somewhere? Or some blacker magic?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions