visual studio 2010 error: can't find System.Web.Script.... namespace

安装了visual studio 2010,打开之前的short url project,居然重新编译不过。出现的错误是:

 The type or namespace name 'Scriptdoes not exist in the namespace'System.Web' (are you missing an assembly reference?)

我的其中一个文件有

using System.Web.Script.Serialization

但上述错误表明是找不到reference


妈的!搞了我半天,原来是visual studio bug。解决办法:

http://www.cnblogs.com/dudu/archive/2010/06/24/1764549.html

你可能感兴趣的:(visual studio 2010 error: can't find System.Web.Script.... namespace)