From 1d15070698a4aa2d0f50f487ec06031d34c4b043 Mon Sep 17 00:00:00 2001 From: CleanCodeDeveloper <16760760+CleanCodeDeveloper@users.noreply.github.com> Date: Mon, 21 Mar 2022 13:48:52 +0100 Subject: [PATCH] [Common] Move shared keys into central props file (#17131) * [Common] Move shared keys into central props file * Add PackageTags prop --- Directory.Build.props | 6 ++ src/common/ManagedCommon/ManagedCommon.csproj | 15 +--- .../Telemetry/ManagedTelemetry.csproj | 11 +-- .../Microsoft.Interop.Tests.csproj | 87 ++++++++----------- 4 files changed, 45 insertions(+), 74 deletions(-) diff --git a/Directory.Build.props b/Directory.Build.props index 910bf222a5..603f012e24 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -8,10 +8,16 @@ Microsoft Corporation en-US x64 + PowerToys true Recommended + + https://github.com/microsoft/PowerToys + Github + + true diff --git a/src/common/ManagedCommon/ManagedCommon.csproj b/src/common/ManagedCommon/ManagedCommon.csproj index 846ed4159c..14159b692f 100644 --- a/src/common/ManagedCommon/ManagedCommon.csproj +++ b/src/common/ManagedCommon/ManagedCommon.csproj @@ -1,31 +1,18 @@  + netstandard2.0 x64 x64 - netstandard2.0 $(Version).0 Microsoft Corporation PowerToys PowerToys ManagedCommon - Copyright (C) 2022 Microsoft Corporation - https://github.com/microsoft/PowerToys - Github - PowerToys - en-US PowerToys.ManagedCommon - - true - - - - true - - all diff --git a/src/common/ManagedTelemetry/Telemetry/ManagedTelemetry.csproj b/src/common/ManagedTelemetry/Telemetry/ManagedTelemetry.csproj index 45ae3c91f8..48817408b0 100644 --- a/src/common/ManagedTelemetry/Telemetry/ManagedTelemetry.csproj +++ b/src/common/ManagedTelemetry/Telemetry/ManagedTelemetry.csproj @@ -2,30 +2,26 @@ + netstandard2.0 x64 x64 - netstandard2.0 $(Version).0 Microsoft Corporation PowerToys PowerToys Telemetry - Copyright (C) 2022 Microsoft Corporation - https://github.com/microsoft/PowerToys - Github - PowerToys - en-US - true PowerToys.ManagedTelemetry + StyleCop.json + all @@ -37,6 +33,7 @@ all + GlobalSuppressions.cs diff --git a/src/common/interop/interop-tests/Microsoft.Interop.Tests.csproj b/src/common/interop/interop-tests/Microsoft.Interop.Tests.csproj index 184c21d7ba..b5599e32f2 100644 --- a/src/common/interop/interop-tests/Microsoft.Interop.Tests.csproj +++ b/src/common/interop/interop-tests/Microsoft.Interop.Tests.csproj @@ -5,53 +5,34 @@ net6.0-windows false - win-x64 - false - false - win-x64 - x64 - interop-tests - Microsoft Corp. - Copyright (C) 2022 Microsoft Corp. - - - - true + win-x64 + Library + Microsoft.Interop.Tests + Microsoft.Interop.Tests + false + false + win-x64 + x64 + interop-tests - - Debug - Library - Microsoft.Interop.Tests - Microsoft.Interop.Tests - - - true - bin\x64\Debug\ - DEBUG;TRACE - full - x64 - prompt - MinimumRecommendedRules.ruleset - - - bin\x64\Release\ - TRACE - true - pdbonly - x64 - prompt - MinimumRecommendedRules.ruleset - - - true - - - true - + + true + bin\x64\Debug\ + DEBUG;TRACE + full + prompt + + + bin\x64\Release\ + TRACE + true + pdbonly + prompt + - + @@ -66,22 +47,22 @@ all runtime; build; native; contentfiles; analyzers; buildtransitive - - 1.1.118 - runtime; build; native; contentfiles; analyzers; buildtransitive - all - + + 1.1.118 + runtime; build; native; contentfiles; analyzers; buildtransitive + all + - + GlobalSuppressions.cs - + - StyleCop.json - + StyleCop.json + - +