这是我面临的错误。我必须做什么? [英] this is the error that I'm faced with. what must I do?
本文介绍了这是我面临的错误。我必须做什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用Controller,这是我得到的错误'Microsoft.Owin.IOwinContext'不包含'GetUserManager'的定义,也没有扩展方法'GetUserManager'接受类型'Microsoft的第一个参数。可以找到Owin.IOwinContext'(你是否缺少using指令或程序集引用?)
解决方案
试试这个,
< pre lang =c#> 使用 Microsoft.AspNet.Identity.Owin;
-KR
我已经完成了已经KR但它还没有工作
I am working on the Controller and this is the error i'm getting 'Microsoft.Owin.IOwinContext' does not contain a definition for 'GetUserManager' and no extension method 'GetUserManager' accepting a first argument of type 'Microsoft.Owin.IOwinContext' could be found (are you missing a using directive or an assembly reference?)
解决方案
Try with this,
using Microsoft.AspNet.Identity.Owin;
-KR
I've done that already KR but it's still not working
这篇关于这是我面临的错误。我必须做什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文