i get the following error when trying to compile my asp.net site after updating the project from vs2008 to vs2010
The type or namespace name 'Syndication' does not exist in the namespace 'System.ServiceModel' (are you missing an assembly reference?)
I have the asp.net site targeting 3.5 framework (as it did in vs2008) I also added a reference to System.ServiceModel.Web
I also have these using statements at the top of my class: using System.ServiceModel; using System.ServiceModel.Description; using System.ServiceModel.Syndication; using System.ServiceModel.Web;
The last 2 complain with the error above, commenting them out produces errors (cannot find WebGet, etc.) like it flipflops.
Anyone have any ideas?
I got this working in .NET 3.5 by adding the Web DLL, thanks to the post below.
DOTNET 3.5: add a reference to the System.ServiceModel.Web.dll
DOTNET 4.0: add a reference to the System.ServiceModel.dll