From 622e4543f37b02fe8e54a61c7a4820177faa8a2f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 20 Apr 2026 16:33:52 +0000 Subject: [PATCH 1/3] Bump coverlet.collector from 6.0.4 to 10.0.0 --- updated-dependencies: - dependency-name: coverlet.collector dependency-version: 10.0.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .../FluentAssertions.DataSets.Specs.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/FluentAssertions.DataSets.Specs/FluentAssertions.DataSets.Specs.csproj b/Tests/FluentAssertions.DataSets.Specs/FluentAssertions.DataSets.Specs.csproj index 7758b8e..b7b1085 100644 --- a/Tests/FluentAssertions.DataSets.Specs/FluentAssertions.DataSets.Specs.csproj +++ b/Tests/FluentAssertions.DataSets.Specs/FluentAssertions.DataSets.Specs.csproj @@ -20,7 +20,7 @@ - + runtime; build; native; contentfiles; analyzers; buildtransitive From 173b55d6c19788c604cf902db2047278a248c285 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 21 Apr 2026 07:22:57 +0000 Subject: [PATCH 2/3] Fix failing build by upgrading target framework from net6.0 to net8.0 Agent-Logs-Url: https://github.com/fluentassertions/fluentassertions.datasets/sessions/61372f0e-005c-4847-92c8-75ea47127200 Co-authored-by: dennisdoomen <572734+dennisdoomen@users.noreply.github.com> --- Directory.Build.props | 6 +++--- .../FluentAssertions.DataSets.csproj | 2 +- Tests/FluentAssertions.DataSets.Specs/DataSetSpecs.cs | 8 ++++++++ Tests/FluentAssertions.DataSets.Specs/DataTableSpecs.cs | 8 ++++++++ .../FluentAssertions.DataSets.Specs.csproj | 6 +++--- .../FluentAssertions.DataSets.Specs/TypedDataSetSpecs.cs | 8 ++++++++ .../TypedDataTableSpecs.cs | 8 ++++++++ 7 files changed, 39 insertions(+), 7 deletions(-) diff --git a/Directory.Build.props b/Directory.Build.props index 4eeca53..a23865f 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -7,18 +7,18 @@ - + false false false - + true 7.0 All true - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/Src/FluentAssertions.DataSets/FluentAssertions.DataSets.csproj b/Src/FluentAssertions.DataSets/FluentAssertions.DataSets.csproj index 9d5be77..4ccf387 100644 --- a/Src/FluentAssertions.DataSets/FluentAssertions.DataSets.csproj +++ b/Src/FluentAssertions.DataSets/FluentAssertions.DataSets.csproj @@ -2,7 +2,7 @@ - net47;net6.0 + net47;net8.0 True FluentAssertions.snk true diff --git a/Tests/FluentAssertions.DataSets.Specs/DataSetSpecs.cs b/Tests/FluentAssertions.DataSets.Specs/DataSetSpecs.cs index 1d33d9d..5f5d70f 100644 --- a/Tests/FluentAssertions.DataSets.Specs/DataSetSpecs.cs +++ b/Tests/FluentAssertions.DataSets.Specs/DataSetSpecs.cs @@ -377,7 +377,11 @@ public void When_data_set_prefix_does_not_match_but_the_corresponding_property_i dataSet1.Should().BeEquivalentTo(dataSet2, options => options.Excluding(dataSet => dataSet.Prefix)); } +#if NET8_0_OR_GREATER + [Fact(Skip = "SerializationFormat.Binary is not supported on .NET 8+")] +#else [Fact] +#endif public void When_data_set_remoting_format_does_not_match_and_the_corresponding_property_is_not_excluded_equivalence_test_should_fail() { @@ -403,7 +407,11 @@ public void "Expected dataSet1 to have RemotingFormat value of SerializationFormat.Binary*, but found *Xml* instead*"); } +#if NET8_0_OR_GREATER + [Fact(Skip = "SerializationFormat.Binary is not supported on .NET 8+")] +#else [Fact] +#endif public void When_data_set_remoting_format_does_not_match_but_the_corresponding_property_is_excluded_equivalence_test_should_succeed() { diff --git a/Tests/FluentAssertions.DataSets.Specs/DataTableSpecs.cs b/Tests/FluentAssertions.DataSets.Specs/DataTableSpecs.cs index 6a0da6e..ede0614 100644 --- a/Tests/FluentAssertions.DataSets.Specs/DataTableSpecs.cs +++ b/Tests/FluentAssertions.DataSets.Specs/DataTableSpecs.cs @@ -516,7 +516,11 @@ public void When_data_table_prefix_does_not_match_but_the_corresponding_property dataTable1.Should().BeEquivalentTo(dataTable2, options => options.Excluding(dataTable => dataTable.Prefix)); } +#if NET8_0_OR_GREATER + [Fact(Skip = "SerializationFormat.Binary is not supported on .NET 8+")] +#else [Fact] +#endif public void When_data_table_remoting_format_does_not_match_and_the_corresponding_property_is_not_excluded_equivalence_test_should_fail() { @@ -541,7 +545,11 @@ public void .WithMessage("Expected dataTable1 to have RemotingFormat value of *Binary*, but found *Xml* instead*"); } +#if NET8_0_OR_GREATER + [Fact(Skip = "SerializationFormat.Binary is not supported on .NET 8+")] +#else [Fact] +#endif public void When_data_table_remoting_format_does_not_match_but_the_corresponding_property_is_excluded_equivalence_test_should_succeed() { diff --git a/Tests/FluentAssertions.DataSets.Specs/FluentAssertions.DataSets.Specs.csproj b/Tests/FluentAssertions.DataSets.Specs/FluentAssertions.DataSets.Specs.csproj index b7b1085..68f8310 100644 --- a/Tests/FluentAssertions.DataSets.Specs/FluentAssertions.DataSets.Specs.csproj +++ b/Tests/FluentAssertions.DataSets.Specs/FluentAssertions.DataSets.Specs.csproj @@ -1,15 +1,15 @@  - net47;net6.0 + net47;net8.0 True ..\..\Src\FluentAssertions.DataSets\FluentAssertions.snk false - $(NoWarn),IDE0052,1573,1591,1712 + $(NoWarn),IDE0052,1573,1591,1712,SYSLIB0038 full - + all diff --git a/Tests/FluentAssertions.DataSets.Specs/TypedDataSetSpecs.cs b/Tests/FluentAssertions.DataSets.Specs/TypedDataSetSpecs.cs index 78ca879..e190159 100644 --- a/Tests/FluentAssertions.DataSets.Specs/TypedDataSetSpecs.cs +++ b/Tests/FluentAssertions.DataSets.Specs/TypedDataSetSpecs.cs @@ -338,7 +338,11 @@ public void When_Prefix_does_not_match_and_property_is_excluded_it_should_succee dataSet1.Should().BeEquivalentTo(dataSet2, options => options.Excluding(dataSet => dataSet.Prefix)); } +#if NET8_0_OR_GREATER + [Fact(Skip = "SerializationFormat.Binary is not supported on .NET 8+")] +#else [Fact] +#endif public void When_RemotingFormat_does_not_match_and_property_is_not_excluded_it_should_fail() { // Arrange @@ -358,7 +362,11 @@ public void When_RemotingFormat_does_not_match_and_property_is_not_excluded_it_s action.Should().Throw(); } +#if NET8_0_OR_GREATER + [Fact(Skip = "SerializationFormat.Binary is not supported on .NET 8+")] +#else [Fact] +#endif public void When_RemotingFormat_does_not_match_and_property_is_excluded_it_should_succeed() { // Arrange diff --git a/Tests/FluentAssertions.DataSets.Specs/TypedDataTableSpecs.cs b/Tests/FluentAssertions.DataSets.Specs/TypedDataTableSpecs.cs index 27d89eb..10ff853 100644 --- a/Tests/FluentAssertions.DataSets.Specs/TypedDataTableSpecs.cs +++ b/Tests/FluentAssertions.DataSets.Specs/TypedDataTableSpecs.cs @@ -387,7 +387,11 @@ public void When_Prefix_does_not_match_and_property_is_excluded_it_should_succee dataTable1.Should().BeEquivalentTo(dataTable2, options => options.Excluding(dataTable => dataTable.Prefix)); } +#if NET8_0_OR_GREATER + [Fact(Skip = "SerializationFormat.Binary is not supported on .NET 8+")] +#else [Fact] +#endif public void When_RemotingFormat_does_not_match_and_property_is_not_excluded_it_should_fail() { // Arrange @@ -410,7 +414,11 @@ public void When_RemotingFormat_does_not_match_and_property_is_not_excluded_it_s action.Should().Throw(); } +#if NET8_0_OR_GREATER + [Fact(Skip = "SerializationFormat.Binary is not supported on .NET 8+")] +#else [Fact] +#endif public void When_RemotingFormat_does_not_match_and_property_is_excluded_it_should_succeed() { // Arrange From 36ab15573bd615453050950cf8dbe14b98672be2 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 21 Apr 2026 07:25:38 +0000 Subject: [PATCH 3/3] Update AnalysisLevel from 7.0 to 8.0 to align with net8.0 target framework Agent-Logs-Url: https://github.com/fluentassertions/fluentassertions.datasets/sessions/61372f0e-005c-4847-92c8-75ea47127200 Co-authored-by: dennisdoomen <572734+dennisdoomen@users.noreply.github.com> --- Directory.Build.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Directory.Build.props b/Directory.Build.props index a23865f..309e8ce 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -14,7 +14,7 @@ true - 7.0 + 8.0 All true