Skip to content

Update target framework to net10.0 - #38

Merged
eddymoulton merged 2 commits into
octopus/masterfrom
em/update-to-dotnet10
Nov 11, 2026
Merged

eddymoulton merged 2 commits into
octopus/masterfrom
em/update-to-dotnet10

Conversation

@eddymoulton

Copy link
Copy Markdown
Collaborator

The upstream repo updated the tests to use net10.0 in libgit2#2186, but with net8.0 and net9.0 going EOL this week we want to update the library to net10.0 too.

I've left net8.0 in temporarily to avoid requiring a precisely timed migration for net8.0 apps. We can remove net8.0 shortly after.

Comment thread .github/workflows/ci.yml
os: [ windows-2022, windows-2025, macos-15, macos-26 ]
tfm: [ net472, net8.0, net10.0 ]
exclude:
- os: macos-14

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

macos-14 runners were deprecated earlier this month

byte[] data = new byte[len];
Marshal.Copy(new IntPtr(cert->data), data, 0, len);
#if NET9_0_OR_GREATER
Certificate = X509CertificateLoader.LoadCertificate(data);

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only added in net9.0

@eddymoulton
eddymoulton merged commit 8c1de99 into octopus/master Nov 11, 2026
64 checks passed
@eddymoulton
eddymoulton deleted the em/update-to-dotnet10 branch November 11, 2026 02:32
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.

2 participants