Skip to content

Are netstandard2.1 or netcoreapp3.1 supported for source generator projects? #123

@sid-6581

Description

@sid-6581

I've just started to use this project for some basic source generation tasks, and after a lot of trial and error I have it set up and working. All my projects that will consume the source generators are netcoreapp3.1 projects, but the source generator project itself doesn't seem to want to play ball if I set the target framework to netstandard2.1 or netcoreapp3.1. net48 and netstandard2.0 work, and I settled on netstandard2.0 for now.

I don't technically need anything higher since the source generator project is fairly small and simple, but it would be nice to have some of the newer .NET Core 3.x features. Is this not currently possible, or am I missing something? I've searched through the issues, looked at the source code, looked at other projects, and I can't find any indication as to whether this is supported or not.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions