From 765901aace14dc24d22f1f657ebdf51870b5eb47 Mon Sep 17 00:00:00 2001 From: Sergio Pedri Date: Tue, 22 Nov 2022 17:27:34 +0100 Subject: [PATCH] Centralize NETSTANDARD2_1_OR_GREATER define in .targets --- .../CommunityToolkit.Common.csproj | 5 ----- .../CommunityToolkit.Diagnostics.csproj | 17 +++-------------- .../CommunityToolkit.HighPerformance.csproj | 11 +---------- src/Directory.Build.targets | 5 +++++ 4 files changed, 9 insertions(+), 29 deletions(-) diff --git a/src/CommunityToolkit.Common/CommunityToolkit.Common.csproj b/src/CommunityToolkit.Common/CommunityToolkit.Common.csproj index 43324e44..f2d7cb70 100644 --- a/src/CommunityToolkit.Common/CommunityToolkit.Common.csproj +++ b/src/CommunityToolkit.Common/CommunityToolkit.Common.csproj @@ -14,11 +14,6 @@ Incremental;Loading;Collection;IncrementalLoadingCollection;String;Array;Extensions;Helpers - - - NETSTANDARD2_1_OR_GREATER - - diff --git a/src/CommunityToolkit.Diagnostics/CommunityToolkit.Diagnostics.csproj b/src/CommunityToolkit.Diagnostics/CommunityToolkit.Diagnostics.csproj index 68867263..6cd510f1 100644 --- a/src/CommunityToolkit.Diagnostics/CommunityToolkit.Diagnostics.csproj +++ b/src/CommunityToolkit.Diagnostics/CommunityToolkit.Diagnostics.csproj @@ -15,31 +15,20 @@ - - + + + - - NETSTANDARD2_1_OR_GREATER - - - - - - - - NETSTANDARD2_1_OR_GREATER - - diff --git a/src/CommunityToolkit.HighPerformance/CommunityToolkit.HighPerformance.csproj b/src/CommunityToolkit.HighPerformance/CommunityToolkit.HighPerformance.csproj index 2f4b00bf..1639b330 100644 --- a/src/CommunityToolkit.HighPerformance/CommunityToolkit.HighPerformance.csproj +++ b/src/CommunityToolkit.HighPerformance/CommunityToolkit.HighPerformance.csproj @@ -42,21 +42,12 @@ + - - - - - - - - NETSTANDARD2_1_OR_GREATER - - diff --git a/src/Directory.Build.targets b/src/Directory.Build.targets index 94c099ce..36dde4ce 100644 --- a/src/Directory.Build.targets +++ b/src/Directory.Build.targets @@ -2,6 +2,11 @@ + + + NETSTANDARD2_1_OR_GREATER + + true