diff --git a/src/Assets/TestProjects/KitchenSink/TestApp/TestApp.csproj b/src/Assets/TestProjects/KitchenSink/TestApp/TestApp.csproj index fe0ad062f32b..06ffea199cc7 100644 --- a/src/Assets/TestProjects/KitchenSink/TestApp/TestApp.csproj +++ b/src/Assets/TestProjects/KitchenSink/TestApp/TestApp.csproj @@ -14,6 +14,7 @@ false true false + false true true false diff --git a/src/Tasks/Microsoft.NET.Build.Tasks/targets/Microsoft.NET.Sdk.targets b/src/Tasks/Microsoft.NET.Build.Tasks/targets/Microsoft.NET.Sdk.targets index a90556b805cc..258e5260c4a7 100644 --- a/src/Tasks/Microsoft.NET.Build.Tasks/targets/Microsoft.NET.Sdk.targets +++ b/src/Tasks/Microsoft.NET.Build.Tasks/targets/Microsoft.NET.Sdk.targets @@ -504,6 +504,11 @@ Copyright (c) .NET Foundation. All rights reserved. Value="$(DebuggerSupport)" Trim="true" /> + + ().Should().Be(value); + } + } + [Theory] [InlineData("netcoreapp2.2", null, false, null, false)] [InlineData(ToolsetInfo.CurrentTargetFramework, null, true, null, true)] diff --git a/src/Tests/Microsoft.NET.Publish.Tests/GivenThatWeWantToPublishAProjectWithAllFeatures.cs b/src/Tests/Microsoft.NET.Publish.Tests/GivenThatWeWantToPublishAProjectWithAllFeatures.cs index f0889c2c1ab8..885bfedc4069 100644 --- a/src/Tests/Microsoft.NET.Publish.Tests/GivenThatWeWantToPublishAProjectWithAllFeatures.cs +++ b/src/Tests/Microsoft.NET.Publish.Tests/GivenThatWeWantToPublishAProjectWithAllFeatures.cs @@ -60,6 +60,7 @@ public void It_publishes_the_project_correctly(string targetFramework, string [] ""System.AggressiveAttributeTrimming"": true, ""System.ComponentModel.TypeConverter.EnableUnsafeBinaryFormatterInDesigntimeLicenseContextSerialization"": false, ""System.Diagnostics.Debugger.IsSupported"": true, + ""System.Diagnostics.Metrics.Meter.IsSupported"": false, ""System.Diagnostics.Tracing.EventSource.IsSupported"": false, ""System.Globalization.Invariant"": true, ""System.Globalization.PredefinedCulturesOnly"": true, @@ -101,7 +102,7 @@ public void It_publishes_the_project_correctly(string targetFramework, string [] baselineConfigJsonObject["runtimeOptions"]["tfm"] = targetFramework; baselineConfigJsonObject["runtimeOptions"]["framework"]["version"] = targetFramework == "net6.0" ? "6.0.0" : "1.1.2"; - + runtimeConfigJsonObject .Should() .BeEquivalentTo(baselineConfigJsonObject);