0

I'm trying to implement an RssResult that derives from ActionResult in ASP.NET MVC 1 & .NET 3.5, following this question. (There are some limitation on my company regarding the asp.net mvc framework, don't ask me why I'm still using it :)) Anyway, I couldn't find System.ServiceModel.dll in C:\Program Files\Reference Assemblies\Microsoft\Framework\v3.5 (it's in v3.0 and also in v4.0).

Am I missing something?

Thank you very much.

Community
  • 1
  • 1
Saxman
  • 5,009
  • 11
  • 51
  • 72

2 Answers2

3

The best solution I found to this was from this question

  • DOTNET 3.5: add a reference to the System.ServiceModel.Web.dll
  • DOTNET 4.0: add a reference to the System.ServiceModel.dll

It worked for me then.

Community
  • 1
  • 1
betelgeuce
  • 837
  • 5
  • 18
1

If you have .NET 3.5 installed, the System.ServiceModel (V3.0.0.0) assembly should be in the GAC. Reference it from there and you will see the System.ServiceModel.Syndication namespace (you must have .NET 3.5 installed, the namespace is not available in .NET 3.0).

Darin Dimitrov
  • 1,023,142
  • 271
  • 3,287
  • 2,928
  • I do have .NET 3/3.5/4 frameworks installed. When I add the `System.ServiceModel` assembly to my project (.NET 3.5), I can't seems to find `System.ServiceModel.Syndication` namespace. Thanks. – Saxman Apr 20 '11 at 20:42