From bb05b407b33a8255fe5e6215230ab60b08a42052 Mon Sep 17 00:00:00 2001 From: Kirk Larkin <6025110+serpent5@users.noreply.github.com> Date: Wed, 8 May 2019 21:44:55 +0100 Subject: [PATCH] Fixed line highlight. (#12335) * Fixed line highlight. * Update view-compilation.md --- aspnetcore/mvc/views/view-compilation.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aspnetcore/mvc/views/view-compilation.md b/aspnetcore/mvc/views/view-compilation.md index 13bc606809..bb0522c8e4 100644 --- a/aspnetcore/mvc/views/view-compilation.md +++ b/aspnetcore/mvc/views/view-compilation.md @@ -127,9 +127,9 @@ Runtime compilation is enabled using the `Microsoft.AspNetCore.Mvc.Razor.Runtime .AddRazorRuntimeCompilation() ``` -For runtime compilation to work when deployed, apps must additionally modify their project files to set the `PreserveCompilationReferences` to `true`. +For runtime compilation to work when deployed, apps must modify their project files to set the `PreserveCompilationReferences` to `true`: -[!code-xml[](view-compilation/sample/RuntimeCompilation.csproj?highlight=3)] +[!code-xml[](view-compilation/sample/RuntimeCompilation.csproj?highlight=4)] ::: moniker-end