命名空间'System.ServiceModel'中不存在类型或命名空间名称'Syndication'更新到VS2010后

sch*_*opy 2 c# asp.net syndication

在将项目从vs2008更新到vs2010后尝试编译我的asp.net站点时出现以下错误

名称空间"System.ServiceModel"中不存在类型或命名空间名称"Syndication"(您是否缺少程序集引用?)

我有asp.net网站定位3.5框架(就像它在vs2008中所做的那样)我还添加了对System.ServiceModel.Web的引用

我在类的顶部也有这些using语句:using System.ServiceModel; 使用System.ServiceModel.Description; 使用System.ServiceModel.Syndication; 使用System.ServiceModel.Web;

最后2个抱怨上面的错误,评论它们会产生错误(找不到WebGet等),就像它的触发器一样.

有人有主意吗?

Gre*_*reg 9

由于下面的帖子,我通过添加Web DLL在.NET 3.5中使用了它.

DOTNET 3.5:添加对System.ServiceModel.Web.dll的引用

DOTNET 4.0:添加对System.ServiceModel.dll的引用

StackOverflow Post