Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FileNotFoundException when tried to pick a file in Download Folder #34

Open
slam023 opened this issue Feb 27, 2017 · 0 comments
Open

FileNotFoundException when tried to pick a file in Download Folder #34

slam023 opened this issue Feb 27, 2017 · 0 comments

Comments

@slam023
Copy link

slam023 commented Feb 27, 2017

Trying to select a file which shown in the list. After selected a file, file not found exception will turn up due to the file doesn't exist. I think it required to check the file existence after selected.

Exception turn up to be in here:

 handler = (s, e) => {
                    var tcs = Interlocked.Exchange (ref _completionSource, null);

                    FilePickerActivity.FilePicked -= handler;

                    tcs?.SetResult (new FileData (e.FilePath, e.FileName, () => System.IO.File.OpenRead (e.FilePath)));
                };
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

No branches or pull requests

1 participant