How to add System.Web.Extensions in Visual Studio 2012:
- Right click on your project.
- Click Properties
- Click the Links tab on the left.
- Click the Add button
- Click Assemblies
- Click Frames
- Scroll down and find "System.Web.Extensions" and check the box next to it, then click "OK" and save the "Properties" window.
- Type
Imports System.Web.Script.Serialization at the top of the file (or for C # using System.Web.Script.Serialization; )
I just needed to figure this out, and it took me a lot longer than I needed to find the answer, so maybe this will help someone.
source share