From 8fa64790dabe769490dc2f9fa5d59cbb1a7edbf0 Mon Sep 17 00:00:00 2001 From: Safia Abdalla Date: Thu, 18 Mar 2021 09:29:32 -0700 Subject: [PATCH] Update RazorExtensions.cs --- .../src/RazorExtensions.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Razor/Microsoft.AspNetCore.Mvc.Razor.Extensions/src/RazorExtensions.cs b/src/Razor/Microsoft.AspNetCore.Mvc.Razor.Extensions/src/RazorExtensions.cs index 48b31377c439..1919bbb04d24 100644 --- a/src/Razor/Microsoft.AspNetCore.Mvc.Razor.Extensions/src/RazorExtensions.cs +++ b/src/Razor/Microsoft.AspNetCore.Mvc.Razor.Extensions/src/RazorExtensions.cs @@ -36,7 +36,6 @@ public static void Register(RazorProjectEngineBuilder builder) builder.Features.Add(new ModelExpressionPass()); builder.Features.Add(new PagesPropertyInjectionPass()); builder.Features.Add(new ViewComponentTagHelperPass()); - builder.Features.Add(new RazorPageDocumentClassifierPass()); builder.Features.Add(new RazorPageDocumentClassifierPass(builder.Configuration.UseConsolidatedMvcViews)); builder.Features.Add(new MvcViewDocumentClassifierPass(builder.Configuration.UseConsolidatedMvcViews));