I want to develop Type Provider.
Following tutorial you need to use FSharp.TypeProviders.SDK.
FSharp.TypeProviders.StarterPack nuget is deprecated, you need to use FSharp.TypeProviders.Templates instead.
So I created F# library project and added this nuget.
But I get the following error:
Package 'FSharp.TypeProviders.Templates 5.2.0' has a package type 'Template' that is not supported by project 'fsharplib'.
I tried different F# libraries: Standard, Core or Full Framework with the same result.
How I can use FSharp.TypeProviders.Templates for building Type Provider?
FSharp.TypeProviders.Templates is not a library package, it's a dotnet
template: you use it to create a type provider solution.
To install it, run this in a console: dotnet new -i FSharp.TypeProviders.Templates
Then, to create a type provider solution, run: dotnet new typeprovider -o <project_name>
Unfortunately nuget.org doesn't recognize these types of packages, so it gives incorrect instructions.