From 86b532cd47e3279b34661c5e0c0d43f750f817de Mon Sep 17 00:00:00 2001 From: Ryan Nowak Date: Sat, 22 Sep 2018 16:16:56 -0700 Subject: [PATCH] Undo hardcoded Razor.Design in templates --- build/dependencies.props | 3 ++- .../targets/RazorCompilation.targets | 2 +- .../SetPackageProperties.targets | 1 + .../BlazorHosted-CSharp.Client.csproj | 3 --- .../BlazorHosted-CSharp.Server.csproj | 1 + .../content/BlazorLibrary-CSharp/BlazorLibrary-CSharp.csproj | 4 ---- .../BlazorServerSide-CSharp.App.csproj | 4 ---- .../BlazorServerSide-CSharp.Server.csproj | 2 +- .../BlazorStandalone-CSharp/BlazorStandalone-CSharp.csproj | 3 --- 9 files changed, 6 insertions(+), 17 deletions(-) diff --git a/build/dependencies.props b/build/dependencies.props index 2934930cc7..2fc71545b6 100644 --- a/build/dependencies.props +++ b/build/dependencies.props @@ -13,7 +13,8 @@ 2.0.9 2.1.3 1.0.0 - 0.6.0-preview1-20180807.1 + 0.6.0-preview1-20180921.2 + 2.1.2 2.1.0 diff --git a/src/Microsoft.AspNetCore.Blazor.Build/targets/RazorCompilation.targets b/src/Microsoft.AspNetCore.Blazor.Build/targets/RazorCompilation.targets index dfca65945b..0b2e7b986d 100644 --- a/src/Microsoft.AspNetCore.Blazor.Build/targets/RazorCompilation.targets +++ b/src/Microsoft.AspNetCore.Blazor.Build/targets/RazorCompilation.targets @@ -213,7 +213,7 @@ <_BlazorReferencePathWithRefAssemblies Include="@(ReferencePathWithRefAssemblies)" /> - <_BlazorReferencePathWithRefAssemblies Include="%(_BlazorTempAssembly.FullPath)" /> + <_BlazorReferencePathWithRefAssemblies Include="%(_BlazorTempAssembly.FullPath)" Condition="Exists('%(_BlazorTempAssembly.FullPath)')" /> diff --git a/src/Microsoft.AspNetCore.Blazor.Templates/SetPackageProperties.targets b/src/Microsoft.AspNetCore.Blazor.Templates/SetPackageProperties.targets index bbac4d41dd..7b2f2f6ad4 100644 --- a/src/Microsoft.AspNetCore.Blazor.Templates/SetPackageProperties.targets +++ b/src/Microsoft.AspNetCore.Blazor.Templates/SetPackageProperties.targets @@ -21,6 +21,7 @@ IncludeCustomRestoreSources=$(IncludeCustomRestoreSourcesValue); TemplateBlazorVersion=$(PackageVersion); + TemplateRazorDesignPackageVersion=$(TemplateRazorDesignPackageVersion); 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 015fe51d57..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 @@ -12,9 +12,6 @@ - - - diff --git a/src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorHosted-CSharp/BlazorHosted-CSharp.Server/BlazorHosted-CSharp.Server.csproj b/src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorHosted-CSharp/BlazorHosted-CSharp.Server/BlazorHosted-CSharp.Server.csproj index b6b082ed04..02c7b06406 100644 --- a/src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorHosted-CSharp/BlazorHosted-CSharp.Server/BlazorHosted-CSharp.Server.csproj +++ b/src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorHosted-CSharp/BlazorHosted-CSharp.Server/BlazorHosted-CSharp.Server.csproj @@ -11,6 +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 a11728217f..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 @@ -21,10 +21,6 @@ - - - - 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 34f9966033..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 @@ -15,10 +15,6 @@ - - - - diff --git a/src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorServerSide-CSharp/BlazorServerSide-CSharp.Server/BlazorServerSide-CSharp.Server.csproj b/src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorServerSide-CSharp/BlazorServerSide-CSharp.Server/BlazorServerSide-CSharp.Server.csproj index 9d29a0faa0..de40d7b74a 100644 --- a/src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorServerSide-CSharp/BlazorServerSide-CSharp.Server/BlazorServerSide-CSharp.Server.csproj +++ b/src/Microsoft.AspNetCore.Blazor.Templates/content/BlazorServerSide-CSharp/BlazorServerSide-CSharp.Server/BlazorServerSide-CSharp.Server.csproj @@ -11,7 +11,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 38a091e9cc..63266ae3b6 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 @@ -14,9 +14,6 @@ - - -