From 8003a5550e7c9b02de035de04b0758f898d8237f Mon Sep 17 00:00:00 2001 From: Nate McMaster Date: Wed, 21 Nov 2018 17:43:50 -0800 Subject: [PATCH] React to breaking change in aspnet/Mvc --- test/WebSites/Identity.DefaultUI.WebSite/StartupBase.cs | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/test/WebSites/Identity.DefaultUI.WebSite/StartupBase.cs b/test/WebSites/Identity.DefaultUI.WebSite/StartupBase.cs index 35a94b3b72..fb08f9741b 100644 --- a/test/WebSites/Identity.DefaultUI.WebSite/StartupBase.cs +++ b/test/WebSites/Identity.DefaultUI.WebSite/StartupBase.cs @@ -45,14 +45,7 @@ namespace Identity.DefaultUI.WebSite .AddRoles() .AddEntityFrameworkStores(); - services.AddMvc() - .AddRazorOptions(ro => - { - // We do this to avoid file descriptor exhaustion in our functional tests - // due to Razor Pages using a file watcher. - ro.FileProviders.Clear(); - ro.FileProviders.Add(new CompositeFileProvider(new[] { new NullFileProvider() })); - }); + services.AddMvc(); } // This method gets called by the runtime. Use this method to configure the HTTP request pipeline.