Drop .NET 9, centralize .NET 10 package versions, add Dependabot#767
Merged
Conversation
- Remove all 9.0/ content, replace with deprecation README - Create 10.0/Directory.Build.props with centralized MauiVersion (10.0.60) and DotNetVersion (10.0.7) - Update 112 csproj files to use $(MauiVersion) and $(DotNetVersion) instead of hardcoded versions - Create 10.0/PACKAGE-VERSIONS.md documenting the centralized versioning pattern - Add .github/dependabot.yml with grouped NuGet updates for 10.0/ and 11.0/ - Remove 9.0.x SDK from CI workflows (build-pr.yml, build-all.yml) - Clean up eng/excluded_projects_*.txt to remove 9.0 paths - Create 11.0/README.md with sdk.paths documentation for safe preview testing - Update root README.md with repository structure table - Update .github/copilot-instructions.md with versioning conventions and migration patterns Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
614f3ea to
ae15133
Compare
- Suppress CA2252 in Directory.Build.props (MAUI source gen uses preview API) - Update SpinPaint from net9.0 to net10.0 TFMs - Fix BrowserStack MauiApp SupportedOSPlatformVersion (13.1 -> 15.0) - Exclude PlatformIntegrationDemo from macOS CI (requires iOS signing) - Exclude BillingService/PickerDemo from Windows CI (Syncfusion no net10.0 assets) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
ChatClient, ChatClientWithTools, and DeveloperBalance also reference Syncfusion.Maui.Toolkit which lacks net10.0 Windows native assets. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- Create .github/agents/version-migration.agent.md with full migration playbook, known issues, and validation checklist - Expand copilot-instructions.md with detailed migration phases, CI gotchas, and exclusion management patterns - All guidance is version-agnostic for future reuse Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- Update WeatherTwentyOne DevOps pipelines (AzDO + GitHub Actions) from 6.0/9.0 paths and net7.0/net9.0 TFMs to 10.0 and net10.0 - Update .github/workflows/instructions/copilot-instructions.md to reflect current folder structure (remove 8.0/9.0 references) - Update eng/excluded_projects_*.txt comment examples - Add 'Scan for stale version references' as a migration phase in both copilot-instructions.md and version-migration.agent.md - Add to validation checklist in migration agent Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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.
Summary
This PR drops .NET 9 support (end of support), centralizes NuGet package version management for .NET 10 samples, and adds Dependabot for automated version updates.
Changes
Infrastructure
10.0/Directory.Build.props- CentralizedMauiVersion(10.0.60) andDotNetVersion(10.0.7) properties.github/dependabot.yml- Grouped NuGet updates for10.0/and11.0/(single PR per group)9.0.xSDK installation from bothbuild-pr.ymlandbuild-all.ymleng/excluded_projects_*.txt- Cleaned up 9.0 exclusion entriesPackage Version Centralization (112 csproj files)
All
.csprojfiles under10.0/now use:$(MauiVersion)forMicrosoft.Maui.Controls,Microsoft.Maui.Controls.Compatibility,Microsoft.Maui.Controls.Maps,Microsoft.AspNetCore.Components.WebView.Maui,Microsoft.Maui.Core$(DotNetVersion)forMicrosoft.Extensions.Logging.Debug,Microsoft.Extensions.Http,Microsoft.Extensions.Http.Resilience,Microsoft.Extensions.ServiceDiscovery.NET 9 Deprecation
9.0/content (~6,200 files)9.0/README.mdwith deprecation notice and upgrade guide linkDocumentation
10.0/PACKAGE-VERSIONS.md- Explains the centralized versioning pattern and tells users to use explicit versions in their own projects11.0/README.md- Documentssdk.pathsfor safe preview SDK testingREADME.md- Added repository structure table and package versions section.github/copilot-instructions.md- Updated with versioning conventions and migration patternsHow Dependabot Works
With the centralized
Directory.Build.props, Dependabot will:Migration Pattern for Future Versions
When .NET 12 ships:
10.0/becomes the archive (or gets deprecated like 9.0)11.0/gets promoted to the full sample set12.0/gets only net-new feature samples