Identityserver4: Error relating AuthenticationOptions class when using from netcore 2

Created on 25 May 2017  路  5Comments  路  Source: IdentityServer/IdentityServer4

Hi,
I started testing the use of IdSvr4 under a netcore 2.0.

I had a netcoreapp1.0 using IdentityServer4.[email protected]
Everything was OK.

To test I updated my csproj to target netcoreapp2,0 and reference the new meta-package "Microsoft.AspNetCore.[email protected]". Of course package "IdentityServer4.[email protected]" is still references"

No source code changes are made.

  1. A dotnet restore works OK
  2. A dotnet build fails with error CS7069: Reference to type 'AuthenticationOptions' claims it is defined in 'Microsoft.AspNetCore.Authentication', but it could not be found

The problem is due that in Microsoft.AspNetCore.[email protected] the class "AuthenticationOptions" no longer exists.

Most helpful comment

We don't support ASP.NET Core 2 yet. We will tho: https://github.com/IdentityServer/IdentityServer4/issues/1055

All 5 comments

We don't support ASP.NET Core 2 yet. We will tho: https://github.com/IdentityServer/IdentityServer4/issues/1055

Do you support the ASP.NET Core 2 now? I'm still getting this message.

(Ten months later).
Nope... .Net Core 2 still doesn't seem to be supported....

What makes you say that?

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Was this page helpful?
0 / 5 - 0 ratings