AzureStorageTypeProvider
AzureStorageTypeProvider copied to clipboard
Latest build doesn't work with FSAC but compile anyway
Tagging @cartermp and @dsyme for ideas / suggestions here - I'm totally stuck here...
- Earlier versions of the Azure Storage TP that were netstandard compatible used the FSharp.Compiler.Tools nuget package to "get things working" (thanks @tforkmann). I don't know exactly what it did but it got us to the point where things compiled and ran on netcore.
- Newer versions of F# broke with this approach though, because (as I understand it) the Compiler Tools project is coupled to a version F#.
- I removed the Compiler Tools project, updated to the latest ProvidedTypes files and magically everything seemed to work! Huzzah. Fake build and all tests passed.
- BUT when I build the nuget package and reference the published assemblies from an FSI script:
- Intellisense fails when I try to access a member type (in this case, a member property on a static type) with an error (see below).
- HOWEVER, if I send the same failing code to FSI, it works - everything compiles. It's just FSAC that seems to have the problem. At first I thought that the problem might be the netcore version of FSAC but VS2019 exhibits the same issue.

In the screenshot above, I'm trying to access the Name property on the samples container. Both member accesses fail in Ionide (but accessing the static Containers property works fine).
However, sending the exact same code to FSI works:

This is taken from the get-stuff-working branch.
I don't know where to go from here - I'm completely stuffed at the moment. Any ideas gratefully received.
No idea. Does this also fail in Visual Studio?
Yep, VS2019.