Skip to content

Update PR dogfood install scripts to default to .NET 10#34709

Closed
Copilot wants to merge 1 commit intomainfrom
copilot/modify-install-scripts-net-10-support
Closed

Update PR dogfood install scripts to default to .NET 10#34709
Copilot wants to merge 1 commit intomainfrom
copilot/modify-install-scripts-net-10-support

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 28, 2026

Description

Updates the PR dogfood install scripts to default to .NET 10 as the current stable version, matching the change in the mattleibow:patch-1 branch.

Both get-maui-pr.ps1 and get-maui-pr.sh have a Get-PackageDotNetVersion / get_package_dotnet_version function that extracts the .NET major version from a package version string (e.g., 10.0.20-ci.main...10). When the version cannot be determined from the package string, the function fell back to hardcoded version 9 (.NET 9). This PR updates that fallback to 10 (.NET 10) to reflect that .NET 10 is now the current stable version.

Changes

  • eng/scripts/get-maui-pr.ps1: return 9return 10 in Get-PackageDotNetVersion
  • eng/scripts/get-maui-pr.sh: echo "9"echo "10" in get_package_dotnet_version

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.

2 participants