的MembershipProvider在.NET 4.0中

编程入门 行业动态 更新时间:2024-10-26 12:33:28
本文介绍了的MembershipProvider在.NET 4.0中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我怎样才能的MembershipProvider类添加到我的.NET 4.0的项目在VS 2010中B2?

How can I add the MembershipProvider class to my .NET 4.0 project in VS 2010 B2?

我想自定义的MembershipProvider,但我不能没有加入这一类。请指导我通过这个过程。

I want to customize a MembershipProvider, but I cannot without adding this class. Please guide me through this process.

推荐答案

有趣。但是,生成错误是你的朋友;)

Interesting. However, build errors are your friend ;)

试图建立内置象你所说的,我得到了下面的生成错误类库:

Attempting to build a class library built as you describe, I get the following build error:

类型名称的MembershipProvider'找不到。此类型已转发到程序集​​System.Web.ApplicationServices,版本= 4.0.0.0,文化=中性公钥= 31bf3856ad364e35。考虑添加一个引用该程序集。

The type name 'MembershipProvider' could not be found. This type has been forwarded to assembly 'System.Web.ApplicationServices, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. Consider adding a reference to that assembly.

继指令(增加提及System.Web.ApplicationServices)让我继续如预期。

Following the instructions (adding a reference to System.Web.ApplicationServices) allows me to carry on as expected.

更多推荐

的MembershipProvider在.NET 4.0中

本文发布于:2023-11-09 05:22:08,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1571493.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:MembershipProvider   NET

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!