Skip to content

Update .NET SDK#141

Merged
Sergio0694 merged 4 commits into
mainfrom
user/sergiopedri/update-net-sdk
May 25, 2026
Merged

Update .NET SDK#141
Sergio0694 merged 4 commits into
mainfrom
user/sergiopedri/update-net-sdk

Conversation

@Sergio0694

Copy link
Copy Markdown
Owner

Description

This PR updates the .NET SDK to the latest version, adds the .NET 10 TFMs to the test projects, and updates the license.

Update global.json to target the .NET SDK version 10.0.300 (previously 9.0.300). This ensures local and CI builds use the .NET 10 SDK; rollForward and allowPrerelease settings remain unchanged. Developers/CI may need to install the .NET 10 SDK.
Update copyright years in Directory.Build.props (2023 -> 2026) and LICENSE (2022 -> 2026) to reflect the current year.
Update Directory.Build.props to set <LangVersion>14.0</LangVersion>, enabling C# 14 language features across the solution. Ensure build environments use an SDK/compilers that support C# 14.
Include net10.0 in the TargetFrameworks for multiple test projects so they build and run tests against .NET 10. Affected projects: tests/PolySharp.InternalsVisibleTo.Tests, tests/PolySharp.NuGet, tests/PolySharp.Tests.UsePublicAccessibility, tests/PolySharp.Tests, and tests/PolySharp.TypeForwards.Tests. No other logic or package changes were made.
@Sergio0694 Sergio0694 added the enhancement New feature or request label May 25, 2026
@Sergio0694 Sergio0694 merged commit af8628d into main May 25, 2026
9 checks passed
@Sergio0694 Sergio0694 deleted the user/sergiopedri/update-net-sdk branch May 25, 2026 18:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant