Skip to content

Add .NET 10.0 and C# 14 support across projects#256

Merged
Kiryuumaru merged 1 commit intomainfrom
feat/updated-cicd
Nov 28, 2025
Merged

Add .NET 10.0 and C# 14 support across projects#256
Kiryuumaru merged 1 commit intomainfrom
feat/updated-cicd

Conversation

@Kiryuumaru
Copy link
Copy Markdown
Owner

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: Updated TargetFramework to net10.0, added <LangVersion>14</LangVersion> and <UseSharedCompilation>false</UseSharedCompilation>.
  • NukeBuildHelpers.csproj: Added net10.0 to TargetFrameworks, introduced conditional Nuke.Common package references, and updated <LangVersion> to 14.
  • _build.csproj: Updated TargetFramework to net10.0, updated Nuke.Common to 10.0.0 and NuGet.Packaging to 7.0.1.
  • global.json: Updated .NET SDK version from 9.0.100 to 10.0.100.

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.
@Kiryuumaru Kiryuumaru enabled auto-merge (squash) November 28, 2025 00:47
@Kiryuumaru Kiryuumaru merged commit 67dfc99 into main Nov 28, 2025
15 checks passed
@Kiryuumaru Kiryuumaru deleted the feat/updated-cicd branch November 28, 2025 00:54
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.

1 participant