From 3cf3188ae1016fe9753dff5da53edace003ae093 Mon Sep 17 00:00:00 2001 From: Simon Cropp Date: Tue, 18 Jun 2024 21:14:31 +1000 Subject: [PATCH 1/2] ignore case for PolyfillTargetsForNuget --- src/Consume/Consume.csproj | 2 +- .../ConsumeClassicReferences.csproj | 2 +- src/ConsumeIndirect/ConsumeIndirect.csproj | 2 +- src/ConsumeNoRefs/ConsumeNoRefs.csproj | 2 +- .../ConsumeTasksWithNoMemory.csproj | 2 +- src/NoRefsTests/NoRefsTests.csproj | 2 +- src/Polyfill/Polyfill.targets | 8 ++++---- src/PublicTests/PublicTests.csproj | 2 +- src/Tests/Tests.csproj | 2 +- src/UnsafeTests/UnsafeTests.csproj | 2 +- 10 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/Consume/Consume.csproj b/src/Consume/Consume.csproj index c29c6daf..24a8f644 100644 --- a/src/Consume/Consume.csproj +++ b/src/Consume/Consume.csproj @@ -1,6 +1,6 @@ - $(NoWarn);PolyFillTargetsForNuget + $(NoWarn);PolyfillTargetsForNuget true net461;net462;net47;net471;net472;net48;net481;net6.0-windows $(TargetFrameworks);netstandard2.0;netstandard2.1;netcoreapp2.0;netcoreapp2.1;netcoreapp2.2;netcoreapp3.0;netcoreapp3.1;net5.0;net6.0;net7.0;net8.0;net9.0 diff --git a/src/ConsumeClassicReferences/ConsumeClassicReferences.csproj b/src/ConsumeClassicReferences/ConsumeClassicReferences.csproj index e4806ef6..ed17d98d 100644 --- a/src/ConsumeClassicReferences/ConsumeClassicReferences.csproj +++ b/src/ConsumeClassicReferences/ConsumeClassicReferences.csproj @@ -1,6 +1,6 @@ - $(NoWarn);PolyFillTargetsForNuget + $(NoWarn);PolyfillTargetsForNuget true net461;net462;net47;net471;net472;net48;net481;net6.0-windows $(TargetFrameworks);netstandard2.0;netstandard2.1;netcoreapp2.0;netcoreapp2.1;netcoreapp2.2;netcoreapp3.0;netcoreapp3.1;net5.0;net6.0;net7.0;net8.0;net9.0 diff --git a/src/ConsumeIndirect/ConsumeIndirect.csproj b/src/ConsumeIndirect/ConsumeIndirect.csproj index b4c79cf7..c4bf9246 100644 --- a/src/ConsumeIndirect/ConsumeIndirect.csproj +++ b/src/ConsumeIndirect/ConsumeIndirect.csproj @@ -1,6 +1,6 @@ - $(NoWarn);PolyFillTargetsForNuget + $(NoWarn);PolyfillTargetsForNuget true net461;net462;net47;net471;net472;net48;net481;net6.0-windows $(TargetFrameworks);netstandard2.0;netstandard2.1;netcoreapp2.0;netcoreapp2.1;netcoreapp2.2;netcoreapp3.0;netcoreapp3.1;net5.0;net6.0;net7.0;net8.0;net9.0 diff --git a/src/ConsumeNoRefs/ConsumeNoRefs.csproj b/src/ConsumeNoRefs/ConsumeNoRefs.csproj index 1fa7f99d..734bc75b 100644 --- a/src/ConsumeNoRefs/ConsumeNoRefs.csproj +++ b/src/ConsumeNoRefs/ConsumeNoRefs.csproj @@ -1,6 +1,6 @@  - $(NoWarn);PolyFillTargetsForNuget + $(NoWarn);PolyfillTargetsForNuget true net461;net462;net47;net471;net472;net48;net481;net6.0-windows $(TargetFrameworks);netstandard2.0;netstandard2.1;netcoreapp2.0;netcoreapp2.1;netcoreapp2.2;netcoreapp3.0;netcoreapp3.1;net5.0;net6.0;net7.0;net8.0;net9.0 diff --git a/src/ConsumeTasksWithNoMemory/ConsumeTasksWithNoMemory.csproj b/src/ConsumeTasksWithNoMemory/ConsumeTasksWithNoMemory.csproj index 8cc37c9c..28815766 100644 --- a/src/ConsumeTasksWithNoMemory/ConsumeTasksWithNoMemory.csproj +++ b/src/ConsumeTasksWithNoMemory/ConsumeTasksWithNoMemory.csproj @@ -1,6 +1,6 @@ - $(NoWarn);PolyFillTargetsForNuget + $(NoWarn);PolyfillTargetsForNuget true netstandard2.0 diff --git a/src/NoRefsTests/NoRefsTests.csproj b/src/NoRefsTests/NoRefsTests.csproj index bb8392a8..47876b8b 100644 --- a/src/NoRefsTests/NoRefsTests.csproj +++ b/src/NoRefsTests/NoRefsTests.csproj @@ -1,6 +1,6 @@ - $(NoWarn);PolyFillTargetsForNuget + $(NoWarn);PolyfillTargetsForNuget net462;net472;net48;net6.0-windows $(TargetFrameworks);netcoreapp3.1;net5.0;net6.0;net7.0;net8.0;net9.0 diff --git a/src/Polyfill/Polyfill.targets b/src/Polyfill/Polyfill.targets index 8c365e01..4c600b26 100644 --- a/src/Polyfill/Polyfill.targets +++ b/src/Polyfill/Polyfill.targets @@ -59,12 +59,12 @@ >true + Condition="$(NoWarn.Contains('PolyfillTargetsForNuget', StringComparison.OrdinalIgnoreCase)) != true"> - $(NoWarn);PolyFillTargetsForNuget + $(NoWarn);PolyfillTargetsForNuget net462;net472;net48 $(TargetFrameworks);netcoreapp3.1;net5.0;net6.0;net7.0;net8.0;net9.0 true diff --git a/src/Tests/Tests.csproj b/src/Tests/Tests.csproj index 679f0b2b..67b49d71 100644 --- a/src/Tests/Tests.csproj +++ b/src/Tests/Tests.csproj @@ -1,6 +1,6 @@ - $(NoWarn);PolyFillTargetsForNuget + $(NoWarn);PolyfillTargetsForNuget net462;net472;net48;net6.0-windows $(TargetFrameworks);netcoreapp3.1;net5.0;net6.0;net7.0;net8.0;net9.0 diff --git a/src/UnsafeTests/UnsafeTests.csproj b/src/UnsafeTests/UnsafeTests.csproj index 7c186599..7bb10637 100644 --- a/src/UnsafeTests/UnsafeTests.csproj +++ b/src/UnsafeTests/UnsafeTests.csproj @@ -1,6 +1,6 @@ - $(NoWarn);PolyFillTargetsForNuget + $(NoWarn);PolyfillTargetsForNuget net462;net472;net48 $(TargetFrameworks);netcoreapp3.1;net5.0;net6.0;net7.0;net8.0;net9.0 True From 91db9fef358595f860377f445f7a485f034df087 Mon Sep 17 00:00:00 2001 From: Simon Cropp Date: Tue, 18 Jun 2024 21:14:49 +1000 Subject: [PATCH 2/2] Update Directory.Build.props --- src/Directory.Build.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Directory.Build.props b/src/Directory.Build.props index e826578c..639de802 100644 --- a/src/Directory.Build.props +++ b/src/Directory.Build.props @@ -1,7 +1,7 @@ - 5.5.1 + 5.5.2 1.0.0 Polyfill true