- Notifications
You must be signed in to change notification settings - Fork303
Use the new Microsoft.Windows.Storage.Pickers API#509
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:release/experimental
Are you sure you want to change the base?
Use the new Microsoft.Windows.Storage.Pickers API#509
Uh oh!
There was an error while loading.Please reload this page.
Conversation
| picker.FileTypeFilter.Add(".png"); | ||
| varfile=awaitpicker.PickSingleFileAsync(); | ||
| varpicker=newFileOpenPicker(App.window.Id) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
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