title: Cannot find System.Web.Script.Service namespace error after upgrading to Visual studio 2010
body: <p>I've just upgraded a VS 2008 project to VS 2010, converting the project but keeping the target as .NET 3.5 (SP1 is installed). My project worked without issue under VS 2008 on another machine.</p>
  
  <p>I've added references to System.Web.Extensions.dll but I'm still getting the following errors from code in the App_Code folder:</p>
  
  <p>1) Cannot find System.Web.Script.Service namespace.</p>
  
  <p>2) Type 'System.Web.Script.Services.ScriptService' is not defined.</p>
  
  <p>3) Type 'System.Runtime.Serialization.Json.DataContractJsonSerializer' is not defined.</p>
  
  <p>Anyone have any ideas what the problem might be as I'm pretty stumped? :(</p>