From f584107b78508ceb2e64b1a73cfcd56e8849f61b Mon Sep 17 00:00:00 2001 From: Eric StJohn Date: Tue, 20 Aug 2024 16:13:19 -0700 Subject: [PATCH 1/2] Remove package references from library tests These tests should be referencing the product assemblies so that they test latest and not old bits. --- eng/Versions.props | 2 -- .../tests/System.Formats.Nrbf.Tests.csproj | 6 +++--- .../FunctionalTests/System.Net.Http.Functional.Tests.csproj | 4 +--- .../tests/System.Net.ServerSentEvents.Tests.csproj | 3 ++- .../System.Resources.Extensions.BinaryFormat.Tests.csproj | 4 ++-- .../System.Resources.Extensions.Compat.Tests.csproj | 2 +- .../tests/System.Resources.Extensions.Tests.csproj | 2 +- 7 files changed, 10 insertions(+), 13 deletions(-) diff --git a/eng/Versions.props b/eng/Versions.props index 962ff4f4415d7c..907f13c9b0b0d3 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -163,8 +163,6 @@ 2.0.0 17.10.0-beta1.24272.1 2.0.0-beta4.24324.3 - - 9.0.0-preview.7.24327.2 3.1.7 2.1.0 2.0.3 diff --git a/src/libraries/System.Formats.Nrbf/tests/System.Formats.Nrbf.Tests.csproj b/src/libraries/System.Formats.Nrbf/tests/System.Formats.Nrbf.Tests.csproj index 513d152362e247..844f512477c79b 100644 --- a/src/libraries/System.Formats.Nrbf/tests/System.Formats.Nrbf.Tests.csproj +++ b/src/libraries/System.Formats.Nrbf/tests/System.Formats.Nrbf.Tests.csproj @@ -15,11 +15,11 @@ - + - + - + diff --git a/src/libraries/System.Net.Http/tests/FunctionalTests/System.Net.Http.Functional.Tests.csproj b/src/libraries/System.Net.Http/tests/FunctionalTests/System.Net.Http.Functional.Tests.csproj index 7ca899166bc407..28dd6768061a0c 100644 --- a/src/libraries/System.Net.Http/tests/FunctionalTests/System.Net.Http.Functional.Tests.csproj +++ b/src/libraries/System.Net.Http/tests/FunctionalTests/System.Net.Http.Functional.Tests.csproj @@ -331,11 +331,9 @@ + - - - diff --git a/src/libraries/System.Net.ServerSentEvents/tests/System.Net.ServerSentEvents.Tests.csproj b/src/libraries/System.Net.ServerSentEvents/tests/System.Net.ServerSentEvents.Tests.csproj index e2b3d73610d489..ca685119d3dabe 100644 --- a/src/libraries/System.Net.ServerSentEvents/tests/System.Net.ServerSentEvents.Tests.csproj +++ b/src/libraries/System.Net.ServerSentEvents/tests/System.Net.ServerSentEvents.Tests.csproj @@ -10,10 +10,11 @@ + - + diff --git a/src/libraries/System.Resources.Extensions/tests/BinaryFormatTests/System.Resources.Extensions.BinaryFormat.Tests.csproj b/src/libraries/System.Resources.Extensions/tests/BinaryFormatTests/System.Resources.Extensions.BinaryFormat.Tests.csproj index 668bb0c91eeede..fdbe096bda0146 100644 --- a/src/libraries/System.Resources.Extensions/tests/BinaryFormatTests/System.Resources.Extensions.BinaryFormat.Tests.csproj +++ b/src/libraries/System.Resources.Extensions/tests/BinaryFormatTests/System.Resources.Extensions.BinaryFormat.Tests.csproj @@ -32,12 +32,12 @@ - + - + diff --git a/src/libraries/System.Resources.Extensions/tests/CompatTests/System.Resources.Extensions.Compat.Tests.csproj b/src/libraries/System.Resources.Extensions/tests/CompatTests/System.Resources.Extensions.Compat.Tests.csproj index e56833eb8b2848..1a520637b18053 100644 --- a/src/libraries/System.Resources.Extensions/tests/CompatTests/System.Resources.Extensions.Compat.Tests.csproj +++ b/src/libraries/System.Resources.Extensions/tests/CompatTests/System.Resources.Extensions.Compat.Tests.csproj @@ -18,7 +18,7 @@ - + diff --git a/src/libraries/System.Resources.Extensions/tests/System.Resources.Extensions.Tests.csproj b/src/libraries/System.Resources.Extensions/tests/System.Resources.Extensions.Tests.csproj index d9fb191bb69308..6b4d5656a119f9 100644 --- a/src/libraries/System.Resources.Extensions/tests/System.Resources.Extensions.Tests.csproj +++ b/src/libraries/System.Resources.Extensions/tests/System.Resources.Extensions.Tests.csproj @@ -21,7 +21,7 @@ - + From b8a2174883c236859b4231b73fa55cdbac0bdc1f Mon Sep 17 00:00:00 2001 From: Eric StJohn Date: Wed, 21 Aug 2024 08:20:31 -0700 Subject: [PATCH 2/2] Reference the OOB version of SRSF and make sure it's copied --- eng/references.targets | 2 +- .../tests/System.Formats.Nrbf.Tests.csproj | 5 ++++- ...stem.Resources.Extensions.BinaryFormat.Tests.csproj | 5 ++++- .../System.Resources.Extensions.Compat.Tests.csproj | 10 +++++----- .../tests/System.Resources.Extensions.Tests.csproj | 5 ++++- 5 files changed, 18 insertions(+), 9 deletions(-) diff --git a/eng/references.targets b/eng/references.targets index d54606f17ab797..2b0035d3054a1f 100644 --- a/eng/references.targets +++ b/eng/references.targets @@ -39,7 +39,7 @@ + Condition="$(NetCoreAppLibrary.Contains('%(Filename);')) and '%(ProjectReferenceWithConfiguration.Private)' == ''" /> diff --git a/src/libraries/System.Formats.Nrbf/tests/System.Formats.Nrbf.Tests.csproj b/src/libraries/System.Formats.Nrbf/tests/System.Formats.Nrbf.Tests.csproj index 844f512477c79b..a9da043b5ecd57 100644 --- a/src/libraries/System.Formats.Nrbf/tests/System.Formats.Nrbf.Tests.csproj +++ b/src/libraries/System.Formats.Nrbf/tests/System.Formats.Nrbf.Tests.csproj @@ -19,7 +19,10 @@ - + + diff --git a/src/libraries/System.Resources.Extensions/tests/BinaryFormatTests/System.Resources.Extensions.BinaryFormat.Tests.csproj b/src/libraries/System.Resources.Extensions/tests/BinaryFormatTests/System.Resources.Extensions.BinaryFormat.Tests.csproj index fdbe096bda0146..b3d238081a2ecf 100644 --- a/src/libraries/System.Resources.Extensions/tests/BinaryFormatTests/System.Resources.Extensions.BinaryFormat.Tests.csproj +++ b/src/libraries/System.Resources.Extensions/tests/BinaryFormatTests/System.Resources.Extensions.BinaryFormat.Tests.csproj @@ -37,7 +37,10 @@ - + + diff --git a/src/libraries/System.Resources.Extensions/tests/CompatTests/System.Resources.Extensions.Compat.Tests.csproj b/src/libraries/System.Resources.Extensions/tests/CompatTests/System.Resources.Extensions.Compat.Tests.csproj index 1a520637b18053..6f7bc5fd567550 100644 --- a/src/libraries/System.Resources.Extensions/tests/CompatTests/System.Resources.Extensions.Compat.Tests.csproj +++ b/src/libraries/System.Resources.Extensions/tests/CompatTests/System.Resources.Extensions.Compat.Tests.csproj @@ -18,16 +18,16 @@ - - + + + - - - diff --git a/src/libraries/System.Resources.Extensions/tests/System.Resources.Extensions.Tests.csproj b/src/libraries/System.Resources.Extensions/tests/System.Resources.Extensions.Tests.csproj index 6b4d5656a119f9..4ef8e28d3d654f 100644 --- a/src/libraries/System.Resources.Extensions/tests/System.Resources.Extensions.Tests.csproj +++ b/src/libraries/System.Resources.Extensions/tests/System.Resources.Extensions.Tests.csproj @@ -21,7 +21,10 @@ - + +