From 5308332f81b5e1ee4fea810d64ea5bd4f647c860 Mon Sep 17 00:00:00 2001 From: Manodasan Wignarajah Date: Thu, 8 Aug 2024 01:57:57 -0700 Subject: [PATCH 1/2] Add CompilerVisibleProperty needed for analyzer in Windows SDK projection package and set defaults. --- .../targets/Microsoft.NET.Windows.targets | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/src/Tasks/Microsoft.NET.Build.Tasks/targets/Microsoft.NET.Windows.targets b/src/Tasks/Microsoft.NET.Build.Tasks/targets/Microsoft.NET.Windows.targets index 79f6b34f4c26..0ecc332e49cb 100644 --- a/src/Tasks/Microsoft.NET.Build.Tasks/targets/Microsoft.NET.Windows.targets +++ b/src/Tasks/Microsoft.NET.Build.Tasks/targets/Microsoft.NET.Windows.targets @@ -45,6 +45,24 @@ Copyright (c) .NET Foundation. All rights reserved. $(TargetPlatformVersion) + + + true + true + true + 1 + + + + + + + + + + + + From 986aeddc3e57732b4d8ef8f2458fac2e310e7609 Mon Sep 17 00:00:00 2001 From: Manodasan Wignarajah Date: Tue, 13 Aug 2024 18:19:27 -0700 Subject: [PATCH 2/2] Drop setting the warning level on .NET 6 to default to info diagnostics --- .../targets/Microsoft.NET.Windows.targets | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Tasks/Microsoft.NET.Build.Tasks/targets/Microsoft.NET.Windows.targets b/src/Tasks/Microsoft.NET.Build.Tasks/targets/Microsoft.NET.Windows.targets index 0ecc332e49cb..0736faf9dd60 100644 --- a/src/Tasks/Microsoft.NET.Build.Tasks/targets/Microsoft.NET.Windows.targets +++ b/src/Tasks/Microsoft.NET.Build.Tasks/targets/Microsoft.NET.Windows.targets @@ -50,7 +50,6 @@ Copyright (c) .NET Foundation. All rights reserved. true true true - 1