View Single Post
  #1 (permalink)  
Old December 10th, 2010, 12:36 AM
panzerblitzer panzerblitzer is offline
Registered User
 
Join Date: Dec 2010
Posts: 1
Thanks: 0
Thanked 1 Time in 1 Post
Default Professional Windows Phone 7

Can't find a specific forum for this book ... so ...

Page 39 & 41 contains a line of code that needs some errata or additional support material.

To wit:

var feed = System.ServiceModel.Syndication.SyndicateFeed.Load (reader);

generates a Type or Namespace Error. ServiceModel does not exist in NameSpace System.

Adding a reference to the ServiceModel does not help.

See this URL (comment by James Morey) for a fix: http://msdn.microsoft.com/en-us/libr...8VS.95%29.aspx

In short, SL4.0 does not have a reference to this in the System NameSpace.
The Following User Says Thank You to panzerblitzer For This Useful Post:
slickdonkey (December 22nd, 2010)