Add .NET 10.0 and C# 14 support across projects#256
Merged
Kiryuumaru merged 1 commit intomainfrom Nov 28, 2025
Merged
Conversation
Upgraded `TargetFramework` and `TargetFrameworks` to include `.NET 10.0` in multiple project files. Added `<LangVersion>14</LangVersion>` to enable C# 14 features. Updated `global.json` to use .NET SDK version `10.0.100`. Upgraded `Nuke.Common` to version `10.0.0` and `NuGet.Packaging` to version `7.0.1` where applicable. Introduced conditional `ItemGroup` elements in `NukeBuildHelpers.csproj` for framework-specific dependencies. Added `<UseSharedCompilation>false</UseSharedCompilation>` to disable shared compilation. Reformatted `<PropertyGroup>` and `<ItemGroup>` elements for consistency and clarity without functional changes. These changes ensure compatibility with the latest frameworks and improve maintainability.
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.
PR Classification
Upgrade to .NET 10.0 and C# 14 for compatibility and performance improvements.
PR Summary
This pull request updates the projects to target .NET 10.0, adopts C# 14, and ensures compatibility with updated dependencies. It also introduces conditional package references for multi-targeting frameworks.
NukeBuildHelpers.UnitTest.csproj: UpdatedTargetFrameworktonet10.0, added<LangVersion>14</LangVersion>and<UseSharedCompilation>false</UseSharedCompilation>.NukeBuildHelpers.csproj: Addednet10.0toTargetFrameworks, introduced conditionalNuke.Commonpackage references, and updated<LangVersion>to 14._build.csproj: UpdatedTargetFrameworktonet10.0, updatedNuke.Commonto10.0.0andNuGet.Packagingto7.0.1.global.json: Updated .NET SDK version from9.0.100to10.0.100.