From 9d8e9fb3a7c2fac5e5b7904e93f1a4601e6aa368 Mon Sep 17 00:00:00 2001 From: Pranav K Date: Sat, 1 Jun 2019 08:10:10 -0700 Subject: [PATCH] Allow file watching with dotnet-watch \n\nCommit migrated from https://github.com/dotnet/aspnetcore-tooling/commit/42d3a88fed29364a261750a99b03cae7a22ded70 --- .../Sdk.Razor.CurrentVersion.targets | 46 +++++++++++-------- 1 file changed, 26 insertions(+), 20 deletions(-) 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.