From f1bc706af4ec85281cb6a2fd6d5b47ef12ef4965 Mon Sep 17 00:00:00 2001
From: Christopher Wolf <4867233+HaGGi13@users.noreply.github.com>
Date: Sun, 15 Mar 2026 15:17:47 +0100
Subject: [PATCH 1/5] Update dependencies
Upgraded `AwesomeAssertions`, `coverlet`, `Microsoft.NET.Test.Sdk`, and
`xunit` to current latest versions.
Added `Microsoft.Testing.Platform` v2.1.0 explicitly, because min v2.0.0
is needed by `GitHubActionsTestLogger`, but newly introduced `xunit.v3`
uses v1.9.1 only which is not compatible with `GitHubActionsTestLogger`.
---
Directory.Packages.props | 11 ++++++-----
.../DurationMancer.Tests/DurationMancer.Tests.csproj | 10 ++++------
2 files changed, 10 insertions(+), 11 deletions(-)
diff --git a/Directory.Packages.props b/Directory.Packages.props
index 574c688..4744aeb 100644
--- a/Directory.Packages.props
+++ b/Directory.Packages.props
@@ -5,14 +5,15 @@
-
+
-
-
+
+
-
-
+
+
+
\ No newline at end of file
diff --git a/tests/DurationMancer.Tests/DurationMancer.Tests.csproj b/tests/DurationMancer.Tests/DurationMancer.Tests.csproj
index 5eccec8..82766b6 100644
--- a/tests/DurationMancer.Tests/DurationMancer.Tests.csproj
+++ b/tests/DurationMancer.Tests/DurationMancer.Tests.csproj
@@ -20,22 +20,20 @@
all
runtime; build; native; contentfiles; analyzers; buildtransitive
-
- all
- runtime; build; native; contentfiles; analyzers; buildtransitive
-
+
-
+
all
runtime; build; native; contentfiles; analyzers; buildtransitive
+
-
+
From 0805db6a0387ceed701f389560479479cdb5c60a Mon Sep 17 00:00:00 2001
From: Christopher Wolf <4867233+HaGGi13@users.noreply.github.com>
Date: Sun, 15 Mar 2026 15:25:22 +0100
Subject: [PATCH 2/5] Add missing metadata to `GitHubActionsTestLogger`
reference in test project
---
tests/DurationMancer.Tests/DurationMancer.Tests.csproj | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/tests/DurationMancer.Tests/DurationMancer.Tests.csproj b/tests/DurationMancer.Tests/DurationMancer.Tests.csproj
index 82766b6..2f49146 100644
--- a/tests/DurationMancer.Tests/DurationMancer.Tests.csproj
+++ b/tests/DurationMancer.Tests/DurationMancer.Tests.csproj
@@ -20,7 +20,10 @@
all
runtime; build; native; contentfiles; analyzers; buildtransitive
-
+
+ all
+ runtime; build; native; contentfiles; analyzers; buildtransitive
+
@@ -33,7 +36,7 @@
-
+
From 3d593601ab7b55dfbdb8c8c1e065fce8b122f090 Mon Sep 17 00:00:00 2001
From: Christopher Wolf <4867233+HaGGi13@users.noreply.github.com>
Date: Sun, 15 Mar 2026 17:01:34 +0100
Subject: [PATCH 3/5] Fix build errors caused by xunit.v3
Exchanged `xunit.v3` package by `xunit.v3.mtp-v2` because to use
Microsoft.Testing.Platform v2 with `xunit` as well, because
`GitHubActionsTestLogger` is incompatible with MTP v1 `xunit.v3` relays
on by default.
In addition, `GitHubActionsTestLogger` should not be marked as private
with MTP v2.
---
Directory.Packages.props | 4 ++--
tests/DurationMancer.Tests/DurationMancer.Tests.csproj | 7 ++-----
2 files changed, 4 insertions(+), 7 deletions(-)
diff --git a/Directory.Packages.props b/Directory.Packages.props
index 4744aeb..d2828d3 100644
--- a/Directory.Packages.props
+++ b/Directory.Packages.props
@@ -14,6 +14,6 @@
-
+
-
\ No newline at end of file
+
diff --git a/tests/DurationMancer.Tests/DurationMancer.Tests.csproj b/tests/DurationMancer.Tests/DurationMancer.Tests.csproj
index 2f49146..61b50b4 100644
--- a/tests/DurationMancer.Tests/DurationMancer.Tests.csproj
+++ b/tests/DurationMancer.Tests/DurationMancer.Tests.csproj
@@ -20,17 +20,14 @@
all
runtime; build; native; contentfiles; analyzers; buildtransitive
-
- all
- runtime; build; native; contentfiles; analyzers; buildtransitive
-
+
all
runtime; build; native; contentfiles; analyzers; buildtransitive
-
+
From 1c486f07ce62b5f374f1762e586db21eee1c7f1f Mon Sep 17 00:00:00 2001
From: Christopher Wolf <4867233+HaGGi13@users.noreply.github.com>
Date: Sun, 15 Mar 2026 17:09:12 +0100
Subject: [PATCH 4/5] Uninstall Microsoft.Testing.Platform
Microsoft.Testing.Platform was uninstalled to fix current build errors.
---
Directory.Packages.props | 1 -
tests/DurationMancer.Tests/DurationMancer.Tests.csproj | 1 -
2 files changed, 2 deletions(-)
diff --git a/Directory.Packages.props b/Directory.Packages.props
index d2828d3..e399a5c 100644
--- a/Directory.Packages.props
+++ b/Directory.Packages.props
@@ -12,7 +12,6 @@
-
diff --git a/tests/DurationMancer.Tests/DurationMancer.Tests.csproj b/tests/DurationMancer.Tests/DurationMancer.Tests.csproj
index 61b50b4..9f9fd46 100644
--- a/tests/DurationMancer.Tests/DurationMancer.Tests.csproj
+++ b/tests/DurationMancer.Tests/DurationMancer.Tests.csproj
@@ -22,7 +22,6 @@
-
all
runtime; build; native; contentfiles; analyzers; buildtransitive
From 92a01c43992b82f37adf4d3d10e76a22f4e3d915 Mon Sep 17 00:00:00 2001
From: Christopher Wolf <4867233+HaGGi13@users.noreply.github.com>
Date: Sun, 15 Mar 2026 17:26:05 +0100
Subject: [PATCH 5/5] Add .NET 8 and .NET 9 setup to build workflow
---
.github/workflows/build.yaml | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
index c5c7406..be89122 100644
--- a/.github/workflows/build.yaml
+++ b/.github/workflows/build.yaml
@@ -42,7 +42,15 @@ jobs:
arguments: '/output buildserver /l console /config GitVersion.yaml /updateprojectfiles' # have to self-define all arguments; /updateprojectfiles not impl. in execute task
# --- Tool setup ---
- - name: Setup .NET
+ - name: Setup .NET 8
+ uses: actions/setup-dotnet@v4
+ with:
+ dotnet-version: 8.0.x
+ - name: Setup .NET 9
+ uses: actions/setup-dotnet@v4
+ with:
+ dotnet-version: 9.0.x
+ - name: Setup .NET 10
uses: actions/setup-dotnet@v4
with:
dotnet-version: 10.0.x