AzureStorageTypeProvider icon indicating copy to clipboard operation
AzureStorageTypeProvider copied to clipboard

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

Open xperiandri opened this issue 6 years ago • 1 comments

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

  • Windows 10 Pro x64 1809
  • 2.0.1
  • .NET Core 2.2, .NET Standard 2.0

xperiandri avatar Mar 07 '19 15:03 xperiandri

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"] )

xperiandri avatar Mar 07 '19 15:03 xperiandri