Skip to content

(#360, #356) Update .NET to 8.0 and Cake to v4#365

Merged
AdmiringWorm merged 2 commits into
developfrom
upgrade-dotnet8-and-bump-cake-to-v4
Dec 11, 2025
Merged

(#360, #356) Update .NET to 8.0 and Cake to v4#365
AdmiringWorm merged 2 commits into
developfrom
upgrade-dotnet8-and-bump-cake-to-v4

Conversation

@AdmiringWorm

Copy link
Copy Markdown
Member
  • Add .NET 8.0 target frameworks to projects and CI (build.yml, release-notes.yml, pre-release-notes.yml) so the add-in and tests build and run against net8.0

  • Bump Cake and related packages to v4: Cake.Core → 4.0.0, Cake.Testing → 4.0.0, and CakeContrib.Guidelines → 1.5.1

  • Remove obsolete System.Runtime.InteropServices.RuntimeInformation runtime dependency no longer needed after package/target framework changes

  • fixes Update Cake.Codecov to target Cake v4.0.0 #356

  • fixes Add support for .NET 8.0 #360

Add .NET 8.0 to CI workflows and project target frameworks so the
add-in and tests build and run against net8.0.

- CI: update build.yml, release-notes.yml and pre-release-notes.yml to
  include dotnet-version 8.0.x in the matrix to run jobs on .NET 8.
- Project files: add net8.0 to TargetFrameworks in both the main
  Cake.Codecov.csproj and Cake.Codecov.Tests.csproj so packages and
  tests are compiled for .NET 8 in addition to .NET 7 and .NET 6.

This enables compatibility testing and packaging for .NET 8.
Update Cake and related dependencies to their latest 4.x releases and
refresh guidelines package. This includes:
- Upgrade Cake.Testing from 3.2.0 to 4.0.0 in tests to match Cake v4.
- Upgrade Cake.Core from 3.0.0 to 4.0.0 in the library.
- Upgrade CakeContrib.Guidelines from 1.4.0 to 1.5.1.

Remove an obsolete .NET Framework-specific runtime info dependency
(System.Runtime.InteropServices.RuntimeInformation) since it is no
longer required after the package and target framework adjustments.

These changes align project dependencies with Cake v4, fix compatibility
issues, and bring guideline tooling up to date.
@AdmiringWorm AdmiringWorm merged commit 1df490b into develop Dec 11, 2025
6 of 7 checks passed
@AdmiringWorm AdmiringWorm deleted the upgrade-dotnet8-and-bump-cake-to-v4 branch December 11, 2025 12:16
@mergify

mergify Bot commented Dec 11, 2025

Copy link
Copy Markdown
Contributor

Thank you for your contribution, if you haven't already then feel free to add yourself as a contributors through the all-contributors bot. See https://allcontributors.org/docs/en/bot/usage for more information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add support for .NET 8.0 Update Cake.Codecov to target Cake v4.0.0

1 participant