PCLExt.FileStorage icon indicating copy to clipboard operation
PCLExt.FileStorage copied to clipboard

Full working Sample

Open dernippel opened this issue 6 years ago • 20 comments

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?

dernippel avatar Nov 17 '17 13:11 dernippel