PCLExt.FileStorage
PCLExt.FileStorage copied to clipboard
Full working Sample
Hi,
I tried to replace PCLStorage with PCLExt.FileStorage and found the JSON and Log examples, but I didn't get it working.
I want to do something like:
var rootFolder = new ApplicationRootFolder();
await rootFolder.CreateFolderAsync(FileStoreConstants.TmpFolderName, CreationCollisionOption.OpenIfExists);
But I always get a NullReference Exception on rootFolder.
I'm using a Xamarin.Forms Solution with UWP, Android, iOS and .netstandard2.0 libararies (refer to the latest Prism Template Pack). I also tried to instantiate the root folder directly in the several platform project without success. The library is installed via nuget in the main project, the three platform projects (UWP, Android, iOS) and one or two libraries.
What I'm doing wrong? Is it possible to get a full working sample solution?