Skip to content

Conversation

@TheCodeTraveler
Copy link
Collaborator

@TheCodeTraveler TheCodeTraveler commented Mar 20, 2025

Description of Change

This PR increases our minimum .NET SDK version to v9.0.2.02 to coincide with increasing our Microsoft.Maui.* dependency to v9.0.50.

Increasing the minimum .NET SDK version ensures that users are required to install the latest .NET MAUI workloads to correspond with the Microsoft.Maui.* v9.0.50 libraries.

Additional information

We will need to include the following in our next release notes:

Requirements

The following tools are now required for CommunityToolkit.Maui:

  • Download/install .NET SDK v9.0.202
  • Install Xcode 16.2.0 (or higher)
    • Read the latest .NET MAUI Release wiki to always find the latest-supported version) of Xcode for .NET MAUI
    • We HIGHLY recommend using the open-source tool Xcodes to easily manage your installed Xcode versions
  • Update to the latest stable version of Visual Studio (or Jet Brains Rider)
  • After installing the latest stable .NET SDK, update to the latest stable version of the .NET MAUI workload:
    • On macOS, open the Terminal and enter the following command: sudo dotnet workload install maui; sudo dotnet workload update
    • On Windows, open the command prompt (or Powershell) and enter the following command: dotnet workload install maui;dotnet workload update
  • Add a global.json file to your application with the following parameters to ensure you're not using a unsupported preview version of .NET (example below)
    • The .NET MAUI Community Toolkit does not support preview releases of .NET

global.json

{
  "sdk": {
    "version": "9.0.202", 
    "rollForward": "latestFeature",
    "allowPrerelease": false
  }
}

Copilot AI review requested due to automatic review settings March 20, 2025 21:09
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR increases the minimum .NET SDK dependency to v9.0.202 to align with the updated Microsoft.Maui.* dependency requirements.

  • Updated TOOLKIT_NET_VERSION in azure-pipelines.yml from '9.0.200' to '9.0.202'
  • Updated TOOLKIT_NET_VERSION in .github/workflows/dotnet-build.yml from '9.0.200' to '9.0.202'

Reviewed Changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated no comments.

File Description
azure-pipelines.yml Updated the SDK version variable to reflect v9.0.202
.github/workflows/dotnet-build.yml Updated the SDK version variable to reflect v9.0.202
Files not reviewed (1)
  • global.json: Language not supported

@TheCodeTraveler TheCodeTraveler requested a review from pictos March 20, 2025 21:40
@TheCodeTraveler TheCodeTraveler enabled auto-merge (squash) March 20, 2025 21:40
Copy link
Member

@pictos pictos left a comment

Choose a reason for hiding this comment

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

LGTM. Forgot this piece when I bump the package version 😅

@TheCodeTraveler
Copy link
Collaborator Author

Thanks Pedro! No worries at all!

I didn't notice it myself until just today. Fortunately, we're able to sneak in this PR before our next Release 🙌

@TheCodeTraveler TheCodeTraveler merged commit 2a64d25 into main Mar 20, 2025
10 checks passed
@TheCodeTraveler TheCodeTraveler deleted the Increase-.NET-Dependency-to-9.0.202 branch March 20, 2025 21:46
@github-actions github-actions bot locked and limited conversation to collaborators Mar 22, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants