Windows Phone 7: Add Reference for Syndication

by Nick 7. April 2010 02:20

In my previous post, Building an RSS Reader for Windows Phone 7, you may have wondered how I was able to reference SyndicationFeed as this class is in the System.ServiceModel.Syndication namespace which isn’t available in the default list of references for a new Windows Phone 7 project, nor is this assembly in the list of .NET assemblies when you do Add Reference.

The secret is that you need to add a reference to the desktop Silverlight v3 assembly, C:\Program Files\Microsoft SDKs\Silverlight\v3.0\Libraries\Client\System.ServiceModel.Syndication.dll. This will get deployed along with your application, giving you access to the Syndication namespace.

Happy RSS Reading!

Tags:

Powered by BlogEngine.NET 2.0.0.36

Automotive Theme by Car Leasing Experts

 

Page List