Sunday, November 20, 2011

The type or namespace name 'Script' does not exist in the namespace 'System.Web'

Trying to use JavaScriptSerializer in Linqpad

See http://programminggems.blogspot.com/2008/11/type-or-namespace-name-script-does-not.html
“To resolve this problem, please ensure that you have the system.web.extension dll added as a reference in your project.

Alternatively, copying the system.web.extension.dll to the bin directory for a deployment project should resolve the problem.”