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.
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
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.
I had to install
RazorGenerator.Templating
to get it all to work. From the NuGet console, type:Install-Package RazorGenerator.Templating
On VS2017 I installed the NuGet package: Microsoft.AspNet.WebPages
That did the trick.
You will find these assemblies in the Extensions group under Assemblies in Visual Studio 2010, 2012 & 2013 (Reference Manager)
Installing ASP.NET MVC3 from here should help.