このリンクに記載されている手順に従っています。しかし、ファイル(テキストファイル ")の読み取り中に「System.UnauthorizedAccessException」が発生します。次の解決策も試しましたが、成功しませんでした。
StorageFile file = await StorageFile.GetFileFromApplicationUriAsync(new Uri("ms-appx:///ewr.txt", UriKind.RelativeOrAbsolute));
IRandomAccessStream stream = await file.OpenAsync(FileAccessMode.Read);
それを解決するために鍬を教えてください。