System.Web.Helpers not found in VS2015

I am trying to add JSON analysis to C # code in VS2015, but I can not find:

System.Web.Helpers

as MS documentation suggests. I looked at other people with similar problems (almost all on earlier versions) and all the answers say to add them in the Assemblies / Frames dialog box.

The problem is that it does not appear in this dialog box, and many other things that I am talking about are said.

I would really appreciate help in fixing this.

Here is the list I have access to:

Assemblies - Framework List for VS2015 - C #

Edit: Added extension window also

VS2015 Assemblies - Extensions window

+5
source share
5 answers

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

+7
source

You cannot find it because of the simple fact that it is not part of the Framework assemblies (what you are looking at).

This is part of the Extensions compilations, and as indicated here , you will find it in the Extensions section on the left side of the dialog box.

Look at this

+4
source

Old question, but may help someone.

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

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

+3
source

Thanks for all the quick answers - I really appreciate it.

I uninstalled / reinstalled ASP material, as suggested by cFrozenDeath, and while it is not yet displayed in any of the lists in the dialog box, somehow the editor no longer complains and everything works.

I would still like to know why they are not on the list, although the <scratching head>

Thanks again!

0
source

I also wanted to work with JSON in an ASP.Net project using VS2015. I ended up here trying to find the answers. Right about the time when I finished reading other answers on this post, I noticed that my project already had a link to Newtonsoft.Json . I had never heard of this before, so I looked at him; I'm glad I did.

It was literally one liner for Serialize a List<String> to JSON . You can pass an Object so that you can serialize most of the objects within the cause.

Ultimately, I did not need to install MVC3 or reference System.Web.Helpers

Hope this helps!

enter image description here NewtonSoft JSON Serialization and Deserialization

0
source

Source: https://habr.com/ru/post/1238877/


All Articles