京东到家接口SDK中.Net的例子manager.CreateIdentity编译出错
97866 2020-03-27 11:58:39 public static void SignIn(UserManager manager, ApplicationUser user, bool isPersistent)
{
IAuthenticationManager authenticationManager = HttpContext.Current.GetOwinContext().Authentication;
authenticationManager.SignOut(DefaultAuthenticationTypes.ExternalCookie);
var identity = manager.CreateIdentity(user, DefaultAuthenticationTypes.ApplicationCookie);
authenticationManager.SignIn(new AuthenticationProperties() { IsPersistent = isPersistent }, identity);
}
出错定位 manager.CreateIdentity
错误提示: 现用语言不支持“Microsoft.AspNet.Identity.UserManagerExtensions.CreateIdentity<TUser>()”
新手求帮。。。