缺少System.Web.UI和System.Web.Security

Sma*_*ess 35 c#

我无法编译项目,因为缺少名称空间System.Web.UI和System.Web.Security.当我添加引用时,我只能看到System.Web.ApplicationServices,System.Web.Mvc和System.Web.Services.我在哪里下载缺少的命名空间?

Lor*_*nzo 46

转到菜单Project - > Add reference并找到列表中的System.Web.dll

替代文字


小智 22

我不知道System.Web.UI,但System.Web.Security移动到.NET 4.0 Framework中的System.Web.ApplicationServices程序集.