mccalltd/AttributeRouting — Issue #37: 'System.Web.WebPages' not found on MVC2
Author: Virtlink
Created: 2012-01-18 23:26:03+00:00
State: open

I've been reading through the documentation and while it was never stated somewhere explicitly, I assume that AttributeRouting should also work for MVC 2 projects? I've just started using it and keep getting the error: "Could not load file or assembly 'System.Web.WebPages, Version=1.0.0.0' or one of its dependencies."

I saw this entry in your changelog: "Used System.Web.WebHelpers to sniff the form and querystring collections hanging off the request for an http method override without triggering request xss validation", and when I looked it up, it appears that System.Web.WebHelpers is defined in System.Web.WebPages.dll. Is there any way around this? I can't switch to MVC 3 due to restrictions of my host.

Thanks!