Skip to content

Update .NET SDK to 10.0.401 and build tooling - #315

Open
Sergio0694 wants to merge 5 commits into
mainfrom
user/sergiopedri/dotnet-10-upgrade
Open

Sergio0694 wants to merge 5 commits into
mainfrom
user/sergiopedri/dotnet-10-upgrade

Conversation

@Sergio0694

@Sergio0694 Sergio0694 commented Sep 10, 2026

Copy link
Copy Markdown
Member

Summary

  • Update the .NET SDK from 9.0.310 to 10.0.401, retaining the existing target frameworks and SDK roll-forward policy.
  • Update all MSBuild.Sdk.Extras pins from 3.0.23 to 3.0.44 and Microsoft.VisualStudio.SlnGen.Tool from 12.0.13 to 12.0.32.
  • Use windows-2025-large for all Windows CI jobs to provide additional disk space, and copy global.json into generated consumer workspaces.
  • Align the development container and documented prerequisites with .NET 10. Install the SDK specified by global.json in the container because published base images can lag behind SDK servicing releases.

Integration

Rebased onto main after #316 merged. The result preserves its Uno.Check 1.34.1 update, Windows SDK 26100 target frameworks and build requirements, and UWP/WinAppSDK configuration fixes. This PR introduces no Windows SDK installation or pagefile configuration changes.

The requested commit 5e06a74f50b2bc5ca2cba5f4994998fc0d89edc9 from #309 is retained as 330998f, preserving its original author. It is an empty cherry-pick because its SlnGen update was already included in this PR.

Validation

  • Rebased tooling solution Release build: passed, with zero warnings and errors.
  • Rebased source-generator tests: 46 passed.
  • SlnGen 12.0.32 solution generation and the generated solution's Release build were previously validated successfully.
  • Checked the combined workflow, SDK/tool pins, README requirements, and preservation of the upstream multitargeting changes.
  • Validated that the larger-runner follow-up changes only the three Windows runner labels; Linux jobs and all other workflow configuration remain unchanged.
  • Both runner-label review threads are resolved.

CI will validate the native template and experiment matrix on the larger Windows runners. A full development-container build was not run locally because no container engine is available.

@Arlodotexe
Arlodotexe self-requested a review September 11, 2026 22:37
Comment thread .github/workflows/build.yml Outdated
Comment thread .github/workflows/build.yml Outdated
Sergio0694 and others added 4 commits September 11, 2026 16:16
Update the .NET SDK to 10.0.401, MSBuild.Sdk.Extras to 3.0.44, and SlnGen to 12.0.32. Align CI runners, Windows SDK prerequisites, development containers, and documented build requirements.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
(cherry picked from commit 5e06a74)
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Use the standard windows-2025 label for native CI jobs. Start the pagefile at 8 GB while preserving its 32 GB maximum so SDK installation has sufficient disk space.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Remove the added Windows SDK installer changes and project-template installation step. Restore the original pagefile settings while retaining the reviewed windows-2025 labels and tool version updates.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@Arlodotexe Arlodotexe mentioned this pull request Sep 11, 2026
20 tasks
@Sergio0694
Sergio0694 force-pushed the user/sergiopedri/dotnet-10-upgrade branch from c58542d to 6c8f3e3 Compare September 11, 2026 23:18
@Sergio0694 Sergio0694 changed the title Update .NET 10 SDK and build tooling Update .NET SDK to 10.0.401 and build tooling Sep 11, 2026
@Sergio0694
Sergio0694 marked this pull request as ready for review September 11, 2026 23:18
Switch all Windows CI jobs to windows-2025-large to provide more disk space without changing SDK installation or pagefile settings.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
// Append -bullseye or -focal to pin to an OS version.
"VARIANT": "9.0",
// Options
"NODE_VERSION": "lts/*"

@Avid29 Avid29 Sep 12, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Is this changing the runner to auto update the SDK version?

If so that's probably for the best, but we're certain this won't cause any issues, such as introducing new warnings which will be treated as errors? (I forget if we're using treat warnings as errors, I've been gone a bit and very busy).

Upon second thought, I'm being pedantic. It's the runner. Even if an issue like that arises we'll just either update suppresions or update the code.

Sergio0694 added a commit to CommunityToolkit/Labs-Windows that referenced this pull request Sep 16, 2026
Pin tooling to CommunityToolkit/Tooling-Windows-Submodule#315 for end-to-end validation before merging the upstream PR.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
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.

3 participants