Hi there,
I'm trying to write and read kind of an ini-file on a Raspberry Pi with Windows 10 IoT. Creating of and writing to the file ( using Windows.Storage.StorageFolder, Windows.Storage.StorageFile and Windows.Storage.FileIO.WriteTextAsync ) works fine. When I
stop my app the file is there with the contents I expect. As soon as I restart my app and try to read it I get an exception and the file is gone.
If however I create the file, write the contents to it and read it ( without restarting the app in between ) everything works.
Privileges ? Any other suggestion ?
Thanks
Kurt
Sehe gerade, dass ich in einem deutschen Forum unterwegs bin ( bin schon total durch den Wind ), deshalb :
Ich versuche, auf einem Raspberry Pi mit Windows 10 IoT ( C# ) eine Datei zu lesen. Erzeugen, Beschreiben ist kein Problem. Wenn ich nach Neustart der App versuche, die Datei auszulesen, fliegt mir die App um die Ohren. Mache ich alles ( Erzeugen, Beschreiben
und Auslesen ) ohne die App zwischendurch neu zu starten, funktioniert alles erwartungsgemäß.