Skip to content

Conversation

@TheCodeTraveler
Copy link
Collaborator

@TheCodeTraveler TheCodeTraveler commented Feb 8, 2026

Description of Change

This PR bumps the <PackageReference Include="Microsoft.WindowsAppSDK"/> to v2.0.0 enabling the use of Microsoft.Windows.Storage.Pickers.FolderPicker.SuggestedFolder

Linked Issues

Fixes the feature initially added in #3030 which was temporarily removed in #3076.

PR Checklist

  • Has a linked Issue, and the Issue has been approved(bug) or Championed (feature/proposal)
  • Has tests (if omitted, state reason in description)
  • Has samples (if omitted, state reason in description)
  • Rebased on top of main at time of PR
  • Changes adhere to coding standard
  • Documentation created or updated: https://github.com/MicrosoftDocs/CommunityToolkit/pulls

Additional information

This PR will remain in Draft until Microsoft.WindowsAppSDK v2.0.0 is promoted to a stable release

Copilot AI review requested due to automatic review settings February 8, 2026 18:35
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 updates the Windows-specific folder picker implementation to support setting an initial folder by upgrading the Windows App SDK dependency and wiring the initial path into the picker configuration.

Changes:

  • Bump Microsoft.WindowsAppSDK to 2.0.0 for the Windows target framework in CommunityToolkit.Maui.Core.
  • Enable FolderPicker.SuggestedFolder on Windows by assigning the initialPath argument.

Reviewed changes

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

File Description
src/CommunityToolkit.Maui.Core/Essentials/FolderPicker/FolderPickerImplementation.windows.cs Uses the initialPath parameter to set the Windows folder picker’s suggested initial folder.
src/CommunityToolkit.Maui.Core/CommunityToolkit.Maui.Core.csproj Updates the Windows App SDK package reference to enable the required picker API.

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