I am following this article on RazorGenerator and it say\'s that I must add references to:
System.Web.Helpers.dll
System.Web.WebPag
The issue is a missing or outdated version of MVC. I was running VS 2015Preview and could resolve the issue by installing the latest version of MVC via NuGet.
Just in case anyone is still coming across this one.