From 8a4011fcb053fed6de130272665f6ca5d7bd4eee Mon Sep 17 00:00:00 2001 From: Doug Bunting <6431421+dougbu@users.noreply.github.com> Date: Thu, 18 Mar 2021 17:00:14 -0700 Subject: [PATCH] Do not declare iOS and Android support everywhere - runtime update includes new annotations making non-support obvious - see dotnet/runtime#49354 (w/ a similar Android PR coming soon) --- Directory.Build.targets | 9 +++++++++ .../WebAssembly/BlazorManifest/src/BlazorManifest.csproj | 3 ++- ...osoft.AspNetCore.Components.WebAssembly.Server.csproj | 1 + .../Microsoft.AspNetCore.SpaServices.Extensions.csproj | 1 + .../BlazorTemplates.Tests/BlazorTemplates.Tests.csproj | 3 ++- src/ProjectTemplates/test/ProjectTemplates.Tests.csproj | 1 + .../src/Microsoft.AspNetCore.Server.Kestrel.Core.csproj | 1 + ...crosoft.AspNetCore.DeveloperCertificates.XPlat.csproj | 1 + .../src/Microsoft.dotnet-openapi.csproj | 1 + src/Tools/dotnet-dev-certs/src/dotnet-dev-certs.csproj | 1 + .../dotnet-user-secrets/src/dotnet-user-secrets.csproj | 1 + 11 files changed, 21 insertions(+), 2 deletions(-) diff --git a/Directory.Build.targets b/Directory.Build.targets index 6ea2934354f7..62112f9b9708 100644 --- a/Directory.Build.targets +++ b/Directory.Build.targets @@ -175,6 +175,15 @@ $(BuildDependsOn);_CopySymbolsToArtifacts + + + + + + SDK manifest for Blazor WebAssembly AOT. false false + true false @@ -34,4 +35,4 @@ - \ No newline at end of file + diff --git a/src/Components/WebAssembly/Server/src/Microsoft.AspNetCore.Components.WebAssembly.Server.csproj b/src/Components/WebAssembly/Server/src/Microsoft.AspNetCore.Components.WebAssembly.Server.csproj index ba032dcf8f79..c8a900ccb835 100644 --- a/src/Components/WebAssembly/Server/src/Microsoft.AspNetCore.Components.WebAssembly.Server.csproj +++ b/src/Components/WebAssembly/Server/src/Microsoft.AspNetCore.Components.WebAssembly.Server.csproj @@ -4,6 +4,7 @@ $(DefaultNetCoreTargetFramework) Runtime server features for ASP.NET Core Blazor applications. true + true $(NoWarn);NU5100 diff --git a/src/Middleware/SpaServices.Extensions/src/Microsoft.AspNetCore.SpaServices.Extensions.csproj b/src/Middleware/SpaServices.Extensions/src/Microsoft.AspNetCore.SpaServices.Extensions.csproj index c48077311a8a..b0fd0f9f020f 100644 --- a/src/Middleware/SpaServices.Extensions/src/Microsoft.AspNetCore.SpaServices.Extensions.csproj +++ b/src/Middleware/SpaServices.Extensions/src/Microsoft.AspNetCore.SpaServices.Extensions.csproj @@ -4,6 +4,7 @@ Helpers for building single-page applications on ASP.NET MVC Core. $(DefaultNetCoreTargetFramework) enable + true diff --git a/src/ProjectTemplates/BlazorTemplates.Tests/BlazorTemplates.Tests.csproj b/src/ProjectTemplates/BlazorTemplates.Tests/BlazorTemplates.Tests.csproj index db364525ca16..187de8341b4e 100644 --- a/src/ProjectTemplates/BlazorTemplates.Tests/BlazorTemplates.Tests.csproj +++ b/src/ProjectTemplates/BlazorTemplates.Tests/BlazorTemplates.Tests.csproj @@ -3,6 +3,7 @@ $(DefaultNetCoreTargetFramework) ProjectTemplates.E2ETests $(DefineConstants);XPLAT + true true true @@ -63,7 +64,7 @@ <_PublishFiles Include="$(OutputPath).playwright\**\*.*" /> - + diff --git a/src/ProjectTemplates/test/ProjectTemplates.Tests.csproj b/src/ProjectTemplates/test/ProjectTemplates.Tests.csproj index 4566ee824a61..a78821a380b1 100644 --- a/src/ProjectTemplates/test/ProjectTemplates.Tests.csproj +++ b/src/ProjectTemplates/test/ProjectTemplates.Tests.csproj @@ -7,6 +7,7 @@ $(DefaultNetCoreTargetFramework) ProjectTemplates.E2ETests $(DefineConstants);XPLAT + true true true diff --git a/src/Servers/Kestrel/Core/src/Microsoft.AspNetCore.Server.Kestrel.Core.csproj b/src/Servers/Kestrel/Core/src/Microsoft.AspNetCore.Server.Kestrel.Core.csproj index 3e5b8115d18a..ef7726f15f68 100644 --- a/src/Servers/Kestrel/Core/src/Microsoft.AspNetCore.Server.Kestrel.Core.csproj +++ b/src/Servers/Kestrel/Core/src/Microsoft.AspNetCore.Server.Kestrel.Core.csproj @@ -11,6 +11,7 @@ false $(DefineConstants);KESTREL enable + true diff --git a/src/Tools/FirstRunCertGenerator/src/Microsoft.AspNetCore.DeveloperCertificates.XPlat.csproj b/src/Tools/FirstRunCertGenerator/src/Microsoft.AspNetCore.DeveloperCertificates.XPlat.csproj index 0f373fe9274d..d2adba98ab62 100644 --- a/src/Tools/FirstRunCertGenerator/src/Microsoft.AspNetCore.DeveloperCertificates.XPlat.csproj +++ b/src/Tools/FirstRunCertGenerator/src/Microsoft.AspNetCore.DeveloperCertificates.XPlat.csproj @@ -5,6 +5,7 @@ Package for the CLI first run experience. $(DefineConstants);XPLAT aspnet;cli + true diff --git a/src/Tools/Microsoft.dotnet-openapi/src/Microsoft.dotnet-openapi.csproj b/src/Tools/Microsoft.dotnet-openapi/src/Microsoft.dotnet-openapi.csproj index b6f683433336..d6068cd26d3a 100644 --- a/src/Tools/Microsoft.dotnet-openapi/src/Microsoft.dotnet-openapi.csproj +++ b/src/Tools/Microsoft.dotnet-openapi/src/Microsoft.dotnet-openapi.csproj @@ -7,6 +7,7 @@ dotnet-openapi Microsoft.dotnet-openapi true + true diff --git a/src/Tools/dotnet-dev-certs/src/dotnet-dev-certs.csproj b/src/Tools/dotnet-dev-certs/src/dotnet-dev-certs.csproj index 29f83b864305..e261bee80606 100644 --- a/src/Tools/dotnet-dev-certs/src/dotnet-dev-certs.csproj +++ b/src/Tools/dotnet-dev-certs/src/dotnet-dev-certs.csproj @@ -7,6 +7,7 @@ Microsoft.AspNetCore.DeveloperCertificates.Tools dotnet;developercertificates true + true false false diff --git a/src/Tools/dotnet-user-secrets/src/dotnet-user-secrets.csproj b/src/Tools/dotnet-user-secrets/src/dotnet-user-secrets.csproj index 1ef774e1c5e7..429174dea8d3 100644 --- a/src/Tools/dotnet-user-secrets/src/dotnet-user-secrets.csproj +++ b/src/Tools/dotnet-user-secrets/src/dotnet-user-secrets.csproj @@ -8,6 +8,7 @@ Microsoft.Extensions.SecretManager.Tools configuration;secrets;usersecrets true + true false false