Use the new Microsoft.Windows.Storage.Pickers API#509
Use the new Microsoft.Windows.Storage.Pickers API#509DinahK-2SO wants to merge 3 commits intorelease/experimentalfrom
Conversation
| picker.FileTypeFilter.Add(".png"); | ||
|
|
||
| var file = await picker.PickSingleFileAsync(); | ||
| var picker = new FileOpenPicker(App.window.Id) |
There was a problem hiding this comment.
I think no compliable here, since i tried it.
Even you change to App.Window.AppWindow.Id will not be working in runtime, since i tried it.
There was a problem hiding this comment.
I can put my version in your PR here.
Basically, beside using our picker, I also get rid of StorageFile in below usage.
There was a problem hiding this comment.
Sorry, @DinahK-2SO, I found that I cannot apply the file pickers here.
Since 1.8 stable build doesn't have all API need for previous 1.8 experiemental release for this AI project.
And our picker in 1.8 exp4 doesn't work here as well because of localization problem.
There was a problem hiding this comment.
My local build has the same issue. I am converting this PR to draft. Let's wait for the samples to migrate to official release.
Use the new Microsoft.Windows.Storage.Pickers API from WindowsAppSDK.1.8