fsprojects / FSharp.TypeProviders.SDK

The SDK for creating F# type providers
https://fsprojects.github.io/FSharp.TypeProviders.SDK/
MIT License
298 stars 94 forks source link

probingFolders not defined if FX_NO_LOCAL_FILESYSTEM #403

Open Thorium opened 4 months ago

Thorium commented 4 months ago

If you have set FX_NO_LOCAL_FILESYSTEM then ProvidedTypes.fs fails to compile here:

https://github.com/fsprojects/FSharp.TypeProviders.SDK/blob/3a9510e466cb8ab04e0b86841dc777994909f881/src/ProvidedTypes.fs#L15939

I guess the conditional compilation of #if !FX_NO_LOCAL_FILESYSTEM should be extended to cover the next 4 lines as well.