From 692bb0e2614902e19eee149516fd320303701dd2 Mon Sep 17 00:00:00 2001 From: Ryan Nowak Date: Tue, 21 Aug 2018 12:49:03 -0700 Subject: [PATCH] Add privateassets=all to Blazor.Build usages We recommend using this package with PrivateAssets=all everywhere to make sure that the MSBuild files brought in by this package aren't applied to transitively. When that happens, the Blazor.Build MSBuild files will take over the Razor functionality for other projects, which breaks MVC's view compilation functionality. This is part of a fix for #1216. --- README.md | 2 +- .../BlazorHosted-CSharp.Client.csproj | 2 +- .../content/BlazorLibrary-CSharp/BlazorLibrary-CSharp.csproj | 2 +- .../BlazorServerSide-CSharp.App.csproj | 2 +- .../BlazorStandalone-CSharp/BlazorStandalone-CSharp.csproj | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 2d64c8dc69..469506128f 100644 --- a/README.md +++ b/README.md @@ -109,7 +109,7 @@ You can browse https://dotnet.myget.org/gallery/blazor-dev to find the current v ```xml - + ``` diff --git a/src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorHosted-CSharp/BlazorHosted-CSharp.Client/BlazorHosted-CSharp.Client.csproj b/src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorHosted-CSharp/BlazorHosted-CSharp.Client/BlazorHosted-CSharp.Client.csproj index 4ca9064a51..2df8de15ec 100644 --- a/src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorHosted-CSharp/BlazorHosted-CSharp.Client/BlazorHosted-CSharp.Client.csproj +++ b/src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorHosted-CSharp/BlazorHosted-CSharp.Client/BlazorHosted-CSharp.Client.csproj @@ -11,7 +11,7 @@ - + diff --git a/src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorLibrary-CSharp/BlazorLibrary-CSharp.csproj b/src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorLibrary-CSharp/BlazorLibrary-CSharp.csproj index 7625da03da..a7798b1948 100644 --- a/src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorLibrary-CSharp/BlazorLibrary-CSharp.csproj +++ b/src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorLibrary-CSharp/BlazorLibrary-CSharp.csproj @@ -20,7 +20,7 @@ - + diff --git a/src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorServerSide-CSharp/BlazorServerSide-CSharp.App/BlazorServerSide-CSharp.App.csproj b/src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorServerSide-CSharp/BlazorServerSide-CSharp.App/BlazorServerSide-CSharp.App.csproj index adfe8981d3..038d4bf3b0 100644 --- a/src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorServerSide-CSharp/BlazorServerSide-CSharp.App/BlazorServerSide-CSharp.App.csproj +++ b/src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorServerSide-CSharp/BlazorServerSide-CSharp.App/BlazorServerSide-CSharp.App.csproj @@ -14,7 +14,7 @@ - + diff --git a/src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorStandalone-CSharp/BlazorStandalone-CSharp.csproj b/src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorStandalone-CSharp/BlazorStandalone-CSharp.csproj index 0048627b32..1b34c39c12 100644 --- a/src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorStandalone-CSharp/BlazorStandalone-CSharp.csproj +++ b/src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorStandalone-CSharp/BlazorStandalone-CSharp.csproj @@ -12,7 +12,7 @@ - +