Skip to content

Type providers not working in netcore because of (now private) Reflection Type constructors  #1496

@alfonsogarciacaro

Description

@alfonsogarciacaro

From fsprojects/FSharp.TypeProviders.SDK#80 (comment)

I tried to compile an erasure Type Provider with the Type Provider Starter Pack (not sure if there's another way) for .NET Core. Most of the now missing Reflection methods can be polyfilled with the System.Reflection.TypeExtensions package but the showstopper is the helper types in ProvidedTypes.fs (like ProvidedSymbolType) inherit from classes like System.Type which don't have a public constructor in NETStandard.

I don't know if this is the only thing preventing TPs from working with .NET Core but, would there be any hack to overcome this obstacle for the time being?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Feature RequestImpact-Medium(Internal MS Team use only) Describes an issue with moderate impact on existing code.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions