Where can I find System.Web.Helpers, System.Web.We

2019-01-05 03:35发布

I am following this article on RazorGenerator and it say's that I must add references to:

  • System.Web.Helpers.dll
  • System.Web.WebPages.dll
  • System.Web.Razor.dll

The only one I can see when I do Add Reference is System.Web.Razor, but I don't know where the other ones are.

10条回答
Emotional °昔
2楼-- · 2019-01-05 04:06

In VS 2010 just right click on project or on reference and click add reference. On the popup window Select Assemblies - > Extensions -> System.Web.Helpers

查看更多
We Are One
3楼-- · 2019-01-05 04:07

As for VS2017 I didn't find it in "extensions", there's a Nuget package called "microsoft-web-helpers" that seems to be equivalent to System.Web.Helpers.

查看更多
4楼-- · 2019-01-05 04:07

I had to install RazorGenerator.Templating to get it all to work. From the NuGet console, type:

Install-Package RazorGenerator.Templating

查看更多
Deceive 欺骗
5楼-- · 2019-01-05 04:07

On VS2017 I installed the NuGet package: Microsoft.AspNet.WebPages

That did the trick.

查看更多
我想做一个坏孩纸
6楼-- · 2019-01-05 04:13

You will find these assemblies in the Extensions group under Assemblies in Visual Studio 2010, 2012 & 2013 (Reference Manager)

查看更多
一纸荒年 Trace。
7楼-- · 2019-01-05 04:20

Installing ASP.NET MVC3 from here should help.

查看更多
登录 后发表回答