IdentityServer / IdentityServer4.AccessTokenValidation

IdentityServer Access Token Validation for ASP.NET Core
Apache License 2.0
544 stars 214 forks source link

Any reason why updated version of this library can't stay .netstandard20 or 21? #136

Closed gaborbuzasi closed 4 years ago

gaborbuzasi commented 4 years ago

Question

Previous versions of this library were released as .netstandard20 and with the new release it is not impossible to use this library in a common project that is targeting .netstandard20 or 21.

Would it be possible to change this back so that this library can be included in projects targeting .netstandard?

leastprivilege commented 4 years ago

No. Because ASP.NET Core itself targets netcore31

Tri125 commented 4 years ago

But .NET Core 3.1 implement .NET Standard 2.1. See.

I'm currently upgrading a ASP.NET Core software from 2.1 to 3.1.

The solution have multiple projects. The main asp net project is now targeting netcoreapp3.1.

The asp net project have a reference to multiple library class that now targets netstandard2.1.

Some of those projects are responsible to configure part of the asp net app. Namely, the authentication.

Because IdentityServer4 don't target netstandard2.1 we can't use the package in a library class project.

leastprivilege commented 4 years ago

I think the OP question has been answered. That's the way it works,