From 5cb31f6082643d8ea506e3cff6e3de772713b4f9 Mon Sep 17 00:00:00 2001 From: Pranav K Date: Tue, 13 Mar 2018 16:24:47 -0700 Subject: [PATCH] Hardcode extension .PrecompiledViews --- .../Internal/PrecompileRunCommand.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Internal/PrecompileRunCommand.cs b/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Internal/PrecompileRunCommand.cs index b46b12c..5c9b8a8 100644 --- a/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Internal/PrecompileRunCommand.cs +++ b/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Internal/PrecompileRunCommand.cs @@ -72,7 +72,7 @@ namespace Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.Internal return 1; } - var precompileAssemblyName = $"{Options.ApplicationName}{ViewsFeatureProvider.PrecompiledViewsAssemblySuffix}"; + var precompileAssemblyName = $"{Options.ApplicationName}.PrecompiledViews"; var compilation = CompileViews(results, precompileAssemblyName); var resources = GetResources(results);