diff --git a/src/Razor/Microsoft.NET.Sdk.Razor/src/build/netstandard2.0/Sdk.Razor.CurrentVersion.targets b/src/Razor/Microsoft.NET.Sdk.Razor/src/build/netstandard2.0/Sdk.Razor.CurrentVersion.targets index 12fce1cbdf..880e079e61 100644 --- a/src/Razor/Microsoft.NET.Sdk.Razor/src/build/netstandard2.0/Sdk.Razor.CurrentVersion.targets +++ b/src/Razor/Microsoft.NET.Sdk.Razor/src/build/netstandard2.0/Sdk.Razor.CurrentVersion.targets @@ -15,7 +15,7 @@ Copyright (c) .NET Foundation. All rights reserved. true - @@ -223,9 +223,9 @@ Copyright (c) .NET Foundation. All rights reserved. false true - $([MSBuild]::EnsureTrailingSlash('$(MvcRazorOutputPath)')) @@ -233,7 +233,7 @@ Copyright (c) .NET Foundation. All rights reserved. $(MvcRazorEmbedViewSources) false @@ -321,6 +321,12 @@ Copyright (c) .NET Foundation. All rights reserved. --> + + + + + @@ -411,8 +417,8 @@ Copyright (c) .NET Foundation. All rights reserved. Gets assembly attributes in support for Razor runtime code generation. This is a set of standard metadata attributes (defined in Microsoft.AspNetCore.Razor.Runtime) that capture the build-time Razor configuration of an application to be used at runtime. - - This allows the project file to act as the source of truth for the applicable Razor configuration regardless + + This allows the project file to act as the source of truth for the applicable Razor configuration regardless of how Razor is used. The SDK expects configurations that use runtime compilation to set $(GenerateRazorHostingAssemblyInfo) to true, @@ -469,13 +475,13 @@ Copyright (c) .NET Foundation. All rights reserved. @@ -555,7 +561,7 @@ Copyright (c) .NET Foundation. All rights reserved. - - @@ -698,7 +704,7 @@ Copyright (c) .NET Foundation. All rights reserved. DependsOnTargets="ResolveRazorGenerateInputs" Condition="'$(ResolvedRazorCompileToolset)'=='RazorSdk' and '$(RazorCompileOnPublish)'=='true'"> - @@ -773,7 +779,7 @@ Copyright (c) .NET Foundation. All rights reserved.