I'm trying to import System.Web.Script.Serialization so I can deserialize JSON, but in my Imports statement, Visual Studio can't find the System.Web.Extensions assembly.
Before you dismiss this, I have already made sure I am not using .NET 4.0 Client, and have tried to reference the assembly through the Reference Manager, through the Properties window, and by dragging and dropping the file directly to the Bin folder, then attempting to reference it. I still get the following error.
I have already checked to make sure I'm in .NET 4.0 and not 4.0 Client
And the assembly shows up in my References
It also shows up in my web.config file
and in my file system at the same location it shows in the References dialog
When I go to "Add Reference" > "Assemblies" > "Framework" (it's targeting .NET 4.0) and click on System.Web.Extensions the dialog closes as if it has completed the action, but if I go back in, it's still not checked.
Any ideas?