I'm suffering from a file access problem.
The main problem is I can't write a ZipFile in a folder which is acquired by the Folder Picker.
While I've been working on this project, until I encountered this ZipFile problem, I did lots of jobs associated with creating files, with deleting files, with creating folders in that folder. It doesn't seem to matter for this problem.
As the file-access documentation says, I have access permission on a folder which is chosen by the user when using the folder picker.
But I can't create this ZipFile in that folder. Below are my source and the exception.
string zipfPath = folder.Path + @"\" + i.ToString() + ".zip";
await folder.CreateFolderAsync("DADADAD");
ZipFile.CreateFromDirectory(folder.Path + @"/DADADAD", zipfPath);
Why I can't access that folder with ZipFile.Create(Path string)? Are there additional requirements when using UWP? Am I just my misusing ZipFile.Create perhaps?
Edit
Exception Message is following System.UnauthorizedAccessException: 'Access to the Path 'C:\Users\yohan\Desktop\새 폴더 (2)\1.zip' is denied'.
