Plase, helfen Sie mir, ich habe die folgende Codezeile in C# innerhalb einiger Asynchron-Methode und ich verwende Universal-Windows-Plattform (Windows 10 SDK 10.0.14393):Datei nicht Ausnahme in Universal-Windows-Plattform gefunden
var file = await StorageFile.GetFileFromApplicationUriAsync(new Uri("ms-appx:///Assets/HamburgerMenuItems.json"));
Das Problem ist diese Ausnahme: System.IO.FileNotFoundException in mscorlib.ni.dll aufgetreten.
Visual Studio zeigt mir, dass die Datei im Ordner Assets und die Datei ist in Ordnung, weil es normal öffnet (es ist sehr kurze JSON-Datei). Was kann das Problem sein oder was ist die Lösung für dieses Problem?
this image shows, that the file is inside the Assets folder