Closed saf-itpro closed 2 years ago
I think the issue is probably related to this line:
"Microsoft.AspNet.Identity.EntityFramework": "3.0.0-rc1-final",
I think that package is for pre-Core versions of ASP.NET Identity. Can you try removing it?
That one should actually be changed to
"Microsoft.AspNetCore.Identity.EntityFrameworkCore": "1.1.0",
It is ASP.NET Core but from before it was named that way.
@divega that one is already listed in the supplied project.json, so I think removing the first dependency should be enough.
@rowanmiller got it.
@saf-itpro please let us know if removing that entry helps.
Closing as we are pretty confident this was the issue
@divega I do confirm that your assertion is correct. It's working now.
Following this Official ASP.NET Article I updated from ASP.NET Core 1.0 to 1.1. But when compiling my ASP.NET Core project I get the following error in AccountController.cs file:
Error:
The error is at following at line
var email = info.Principal.FindFirstValue(ClaimTypes.Email);
at the end of following action method:project.json: