Skip to content

JsonApiDotNetCore.Annotation for netstandard2.0 #1190

Closed
@ThomasBarnekow

Description

@ThomasBarnekow

Before coming to my request, let me first say how awesome the new stuff is that you have developed since we last talked. I love the source generators.

Now to my feature request . The context is that I want to create a separate project that:

  • contains the model classes hat will have to be annotated with the ResourceAttribute, among others; and
  • targets netstandard2.0 because it will also be required by one or more projects that are, unfortunately, bound to .NET Framework.

I thought that I could add the JsonApiDotNetCore.Annotations package as a dependency to that model-related project. However, that NuGet package depends on net60, which I can't use for my model project for the reasons described above.

Doe the Annotations package have to depend on net60 or could this also target netstandard2.0? In other words, is there a way you could provide a NuGet package that is useable from .NET Framework or netstandard2.0?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions