From 7b42cf1275b2b5cbdd959209ab83cdc172dc2f7b Mon Sep 17 00:00:00 2001 From: Eric Erhardt Date: Wed, 15 Jul 2020 20:19:07 -0500 Subject: [PATCH] Default new runtime feature switches (#23932) * Default new runtime feature switches These new feature switches have been added to the runtime to make applications smaller. Setting reasonable defaults to Blazor wasm projects. Fix #23716 * PR feedback --- .../Microsoft.NET.Sdk.Razor.Components.Wasm.targets | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/Razor/Microsoft.NET.Sdk.Razor/src/build/netstandard2.0/Microsoft.NET.Sdk.Razor.Components.Wasm.targets b/src/Razor/Microsoft.NET.Sdk.Razor/src/build/netstandard2.0/Microsoft.NET.Sdk.Razor.Components.Wasm.targets index 37994fdc6b..3df372457c 100644 --- a/src/Razor/Microsoft.NET.Sdk.Razor/src/build/netstandard2.0/Microsoft.NET.Sdk.Razor.Components.Wasm.targets +++ b/src/Razor/Microsoft.NET.Sdk.Razor/src/build/netstandard2.0/Microsoft.NET.Sdk.Razor.Components.Wasm.targets @@ -25,6 +25,14 @@ Copyright (c) .NET Foundation. All rights reserved. true link + false + + + false + true + false + false + false / true @@ -414,7 +422,7 @@ Copyright (c) .NET Foundation. All rights reserved. Condition="'%(ResolvedFileToPublish.RelativePath)' != 'web.config' AND !$([System.String]::Copy('%(ResolvedFileToPublish.RelativePath)').Replace('\','/').StartsWith('wwwroot/'))" /> - +