From 2e73c9d439e3d48efbd557619d1de0475176b881 Mon Sep 17 00:00:00 2001 From: Matt Thalman Date: Mon, 27 Feb 2023 17:27:08 -0600 Subject: [PATCH] Patch to enable packable razor projects (#15654) --- ...1-Enable packable projects for razor.patch | 50 +++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 src/SourceBuild/patches/razor/0001-Enable packable projects for razor.patch diff --git a/src/SourceBuild/patches/razor/0001-Enable packable projects for razor.patch b/src/SourceBuild/patches/razor/0001-Enable packable projects for razor.patch new file mode 100644 index 000000000..1d73a65dd --- /dev/null +++ b/src/SourceBuild/patches/razor/0001-Enable packable projects for razor.patch @@ -0,0 +1,50 @@ +From 30e113f3ed92e152b7ffb9d633e505bc67331290 Mon Sep 17 00:00:00 2001 +From: Matt Thalman +Date: Mon, 27 Feb 2023 14:02:25 -0600 +Subject: [PATCH] Enable packable projects for razor + +Backport: https://github.com/dotnet/razor/issues/8332 +--- + .../Microsoft.NET.Sdk.Razor.SourceGenerators.Transport.csproj | 2 +- + ...soft.AspNetCore.Mvc.Razor.Extensions.Tooling.Internal.csproj | 2 +- + .../Microsoft.CodeAnalysis.Razor.Tooling.Internal.csproj | 2 +- + 3 files changed, 3 insertions(+), 3 deletions(-) + +diff --git a/src/Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.Transport/Microsoft.NET.Sdk.Razor.SourceGenerators.Transport.csproj b/src/Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.Transport/Microsoft.NET.Sdk.Razor.SourceGenerators.Transport.csproj +index 547da8632..606af7bf4 100644 +--- a/src/Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.Transport/Microsoft.NET.Sdk.Razor.SourceGenerators.Transport.csproj ++++ b/src/Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.Transport/Microsoft.NET.Sdk.Razor.SourceGenerators.Transport.csproj +@@ -7,7 +7,7 @@ + false + true + false +- true ++ true + + false + +diff --git a/src/Compiler/tools/Microsoft.AspNetCore.Mvc.Razor.Extensions.Tooling.Internal/Microsoft.AspNetCore.Mvc.Razor.Extensions.Tooling.Internal.csproj b/src/Compiler/tools/Microsoft.AspNetCore.Mvc.Razor.Extensions.Tooling.Internal/Microsoft.AspNetCore.Mvc.Razor.Extensions.Tooling.Internal.csproj +index 00e1cedec..cc1f32523 100644 +--- a/src/Compiler/tools/Microsoft.AspNetCore.Mvc.Razor.Extensions.Tooling.Internal/Microsoft.AspNetCore.Mvc.Razor.Extensions.Tooling.Internal.csproj ++++ b/src/Compiler/tools/Microsoft.AspNetCore.Mvc.Razor.Extensions.Tooling.Internal/Microsoft.AspNetCore.Mvc.Razor.Extensions.Tooling.Internal.csproj +@@ -5,7 +5,7 @@ + netstandard2.0 + false + false +- true ++ true + false + + +diff --git a/src/Compiler/tools/Microsoft.CodeAnalysis.Razor.Tooling.Internal/Microsoft.CodeAnalysis.Razor.Tooling.Internal.csproj b/src/Compiler/tools/Microsoft.CodeAnalysis.Razor.Tooling.Internal/Microsoft.CodeAnalysis.Razor.Tooling.Internal.csproj +index 7216edbe7..c1fbd3af4 100644 +--- a/src/Compiler/tools/Microsoft.CodeAnalysis.Razor.Tooling.Internal/Microsoft.CodeAnalysis.Razor.Tooling.Internal.csproj ++++ b/src/Compiler/tools/Microsoft.CodeAnalysis.Razor.Tooling.Internal/Microsoft.CodeAnalysis.Razor.Tooling.Internal.csproj +@@ -5,7 +5,7 @@ + netstandard2.0 + false + false +- true ++ true + false +