From 8274ad8399662b1f47f8511e7c4882b4231ae640 Mon Sep 17 00:00:00 2001 From: Nick Josevski Date: Fri, 7 Aug 2026 15:40:12 +1000 Subject: [PATCH 1/2] Remove the dead .NET Framework reference assemblies Calamari.csproj still referenced Microsoft.NETFramework.ReferenceAssemblies.net462. That reference has done nothing since net462 was dropped as a target framework in #1669. Co-Authored-By: Claude Opus 5 (1M context) --- source/Calamari/Calamari.csproj | 4 ---- 1 file changed, 4 deletions(-) diff --git a/source/Calamari/Calamari.csproj b/source/Calamari/Calamari.csproj index 2dea41e44..05ab0375b 100644 --- a/source/Calamari/Calamari.csproj +++ b/source/Calamari/Calamari.csproj @@ -31,10 +31,6 @@ - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - From 79505f82bbc95614d79539b6f99f992fab086189 Mon Sep 17 00:00:00 2001 From: Nick Josevski Date: Fri, 7 Aug 2026 15:40:12 +1000 Subject: [PATCH 2/2] Upgrade Autofac 4.8.0 -> 9.3.1 Autofac 4.8.0 dates from 2018 and is five majors behind. Octopus Server already runs 9.3.1 on net10. Done while Calamari still targets net8. Autofac 9.3.1 resolves on net8. The DI upgrade is therefore verified against a known-good baseline instead of being entangled with the framework change. Notes for reviewers. ContainerBuilder.Update() is the headline Autofac 5 removal and was never used here. The .Update call sites in this repo belong to LibGit2Sharp. The API surface in use is mainstream and unchanged across the version range. The custom RegisterPrioritisedList extension builds on Meta and WithMetadata. Both APIs are stable. Verified: clean rebuild with no new warnings. 26 tests pass covering the custom registration ordering and flavour resolution. Co-Authored-By: Claude Opus 5 (1M context) --- source/Calamari.Common/Calamari.Common.csproj | 2 +- source/Calamari/Calamari.csproj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source/Calamari.Common/Calamari.Common.csproj b/source/Calamari.Common/Calamari.Common.csproj index 9f3443c09..e6af9aaa8 100644 --- a/source/Calamari.Common/Calamari.Common.csproj +++ b/source/Calamari.Common/Calamari.Common.csproj @@ -19,7 +19,7 @@ - + diff --git a/source/Calamari/Calamari.csproj b/source/Calamari/Calamari.csproj index 05ab0375b..3fa2a5a8d 100644 --- a/source/Calamari/Calamari.csproj +++ b/source/Calamari/Calamari.csproj @@ -41,7 +41,7 @@ - +