Skip to content

[Feature] - Support older LTSC runtimes #24

@smaillet

Description

@smaillet

Is your feature request related to a problem? Please describe.
I Can't use this library with apps targeting older runtimes. (Roslyn Source Generators/Analyzers require .NET standard 2.0)

Describe the solution you'd like
Support consumers that target older versions of the .NET runtime

Describe alternatives you've considered
Essentially clone the code internally. Ugh...

Additional context
This is a common problem. That any library needs to look at and understand. If not using runtime specific support (like static abstract) then it is at least plausible to use the library in .NET standard 2.0. It can, and IMNSHO, should, set the LangVersion property in the project. (Sadly, VS FORCES a locked step with the runtime, but it can be overridden by modifying the project file itself)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions