assembly system.webapplication.services需要asp.net引用

assembly system.webapplication.services需要asp.net引用,asp.net,visual-studio,visual-studio-2013,Asp.net,Visual Studio,Visual Studio 2013,在visual studio 2013中,我收到了一个错误,如对程序集“System.Web.ApplicationServices,Version=4.0.0,Culture=neutral,PublicKey token=xxxxxxxxxxxxxx”所需的引用,该程序集包含类型“System.Web.Security.MembershipUser”。请向项目中添加一个 同样的代码在VS2010中没有出现错误(我猜VS使用的是asp.NET2.0?) 我知道缺少一些参考资料?但我不知道应该添

在visual studio 2013中,我收到了一个错误,如对程序集“System.Web.ApplicationServices,Version=4.0.0,Culture=neutral,PublicKey token=xxxxxxxxxxxxxx”所需的引用,该程序集包含类型“System.Web.Security.MembershipUser”。请向项目中添加一个

同样的代码在VS2010中没有出现错误(我猜VS使用的是asp.NET2.0?)

我知道缺少一些参考资料?但我不知道应该添加到引用中的确切文件(如果有)


谢谢你的建议

您需要对.net 4.0的
System.Web.ApplicationServices.dll的引用

它在文档中!


在这里,您将看到所有
DLL的列表,查找
系统并获取所需的参考资料,然后单击“确定”按钮

谢谢,但由于某些原因,我无法添加它?dll文件在我的.net framework 4.5下,但我无法将其添加到引用中(通过勾选System.Web.ApplicationServices左侧的框),然后单击“确定”?
Right Click => Add Reference => .NET tab =>