FolderPicker targeting net9.0-Desktop crashes app #20086
Labels
difficulty/tbd
Categorizes an issue for which the difficulty level needs to be defined.
kind/bug
Something isn't working
triage/untriaged
Indicates an issue requires triaging or verification
Current behavior
I have followed the instructions to implement a folder picker (https://platform.uno/docs/articles/features/windows-storage-pickers.html).
While running using .net9-desktop, the application loads the window to select a folder, is responsive for maybe half a second and then freezes. After a while it decides just to terminate the app.
Note: the folder picker is functional when running net8.0-desktop or when running net9.0-windows10.0.26100.
Expected behavior
I would expect, after opening the folder explorer, the application stays responsive and that I am able to select a folder.
How to reproduce it (as minimally and precisely as possible)
Open the attached project. Start the application targeting net9.0-Desktop.
I have added a button 'FolderPicker' on the main page. Click it.
It will now show the window to select a folder. It will freeze and eventually terminates the application.
FolderPickerAppNet9.zip
Workaround
use net8.0-desktop or net9.0-windows10.0.26100?
Works on UWP/WinUI
Yes
Environment
No response
NuGet package version(s)
No response
Affected platforms
No response
IDE
Visual Studio 2022
IDE version
17.13.3
Relevant plugins
No response
Anything else we need to know?
No response
The text was updated successfully, but these errors were encountered: