diff --git a/BuildFeed/Global.asax.cs b/BuildFeed/Global.asax.cs index f173f8b..843fe4f 100644 --- a/BuildFeed/Global.asax.cs +++ b/BuildFeed/Global.asax.cs @@ -10,6 +10,10 @@ public class MvcApplication : System.Web.HttpApplication { protected void Application_Start() { + // Don't bother looking for the legacy aspx view engine. + ViewEngines.Engines.Clear(); + ViewEngines.Engines.Add(new RazorViewEngine()); + AreaRegistration.RegisterAllAreas(); FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters); RouteConfig.RegisterRoutes(RouteTable.Routes);