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

What does IsFSharpDesignTimeProvider do? #400

Open daniellittledev opened 8 months ago

daniellittledev commented 8 months ago

I can't find any documentation regarding this property, what does it do, what is it for?

cartermp commented 8 months ago

If you're curious, this is the code: https://github.com/dotnet/fsharp/blob/099d19fa30a4f876ca69aa201dcd7f3e75a5af1e/src/FSharp.Build/Microsoft.FSharp.NetSdk.targets#L60-L95

It's a short-hand for work a type provider author would have to do in making sure that package paths are set up correctly and that they contain the right references to make the compiler load the type provider.