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.
I've added references to System.Web.Extensions.dll but I'm still getting the following errors from code in the App_Code folder:
1) Cannot find System.Web.Script.Service namespace.
2) Type 'System.Web.Script.Services.ScriptService' is not defined.
3) Type 'System.Runtime.Serialization.Json.DataContractJsonSerializer' is not defined.
Anyone have any ideas what the problem might be as I'm pretty stumped? :(