fsprojects / AzureStorageTypeProvider

An F# Azure Type Provider which can be used to explore Blob, Table and Queue Azure Storage assets and easily apply CRUD operations on them.
http://fsprojects.github.io/AzureStorageTypeProvider/
The Unlicense
84 stars 34 forks source link

When type provider is used in library project it looks for tableSchema in referencing project #125

Open xperiandri opened 5 years ago

xperiandri commented 5 years ago

Repro steps

  1. Cleate F# app and .NET standard project
  2. Declare provider instance in .NET standard project
  3. Add table schema to .NET standard project and use in provider instance
  4. Use provider instance from app

Expected behavior

Table schema is used from .NET standard project

Actual behavior

Schema not found exception

Known workarounds

Reference schema file as link in app project

Related information

xperiandri commented 5 years ago

Error FS3033 The type provider 'ProviderImplementation.AzureTypeProvider' reported an error: Unable to parse table schema file (System.Exception: Could not locate schema file. Searched: ["Tables.json"; "src\Manager\Tables.json"] )