Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

System.Web.Helpers not found in VS2015

I'm trying to add some JSON parsing to the C# code in VS2015 but I can't find:

System.Web.Helpers

as the MS documentation suggests. I've looked at other people's questions of a similar nature (almost all on earlier versions) and the answers all say to add it in the Assemblies / Framework dialog.

The problem is it doesn't appear in that dialog, nor do many of the other things I see people talking about.

I would really appreciate any help on fixing this.

Here is the list I have access to:

Assemblies - Framework List for VS2015 - C#

Edit: Added the Extensions window as well

VS2015 Assemblies - Extensions window

like image 555
DaveEP Avatar asked Dec 21 '15 19:12

DaveEP


People also ask

Where can I find System Web helpers?

NET tab-> click Component Name to organize list->should see system. web. helpers..

What is .NET system Web?

Defines the methods, properties, and events that are common to all application objects in an ASP.NET application. This class is the base class for applications that are defined by the user in the Global.


2 Answers

This question is a bit old but here's a simple solution - Microsoft seemed to just move this library to a Nuget package called "microsoft-web-helpers". Installing that package seems to be equivalent to having the assembly.

like image 149
Ezra Steinmetz Avatar answered Oct 10 '22 21:10

Ezra Steinmetz


Old question but might still help someone.

You must install MVC 3 in order to have the System.Web.Helpers Extension on VS2015.

link to download: https://www.microsoft.com/en-us/download/details.aspx?id=1491

like image 45
Matheus Wohl Avatar answered Oct 10 '22 19:10

Matheus Wohl