Update .NET SDK#141
Merged
Merged
Conversation
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.
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.
Description
This PR updates the .NET SDK to the latest version, adds the .NET 10 TFMs to the test projects, and updates the license.