Repository navigation
Drop net8.0 and net9.0 targets - #396
Merged
Merged
Conversation
.NET 8 and 9 reach end of life on 10 November 2026. OctoVersion, Cake.OctoVersion and the tests now target net10.0 only, and CI installs just the SDK from global.json. +semver: major Part of DPT-3800. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
matt-richardson
marked this pull request as ready for review
November 9, 2026 22:11
lbec-octopus
approved these changes
Nov 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
.NET 8 and 9 reach end of life on 10 November 2026. This drops them from OctoVersion.
What changes
OctoVersion.Core,OctoVersion.Tool,Cake.OctoVersionand the tests now targetnet10.0only. Thenetstandard2.0contract projects are unchanged.global.jsonrather than 8.0, 9.0 and 10.0.Frameworkattribute now says the tool shipsnet10.0only.Release
OctoVersion is published on nuget.org, so anyone running the tool or Cake addin on .NET 8 or 9 needs to stay on the current major. The commit carries
+semver: major, so keep that line in the squash commit message.Across the org, only NuGet.Client, Octofront and libgit2sharp still target older .NET versions (LookAtGithubReposToFindDotNetVersions build 25011083), and none of them use OctoVersion.
I haven't built this locally. CI is the first build.
Part of DPT-3800.
🤖 Generated with Claude Code