public static async Task Initialize(Assembly assembly) { try { var rootFolder = FileSystem.Current.LocalStorage; var writer = new ResourceWriter(assembly); if (await rootFolder.CheckExistsAsync("Images/remove.png") == ExistenceCheckResult.NotFound) { await writer.WriteFile("Images/team-a.png", rootFolder.Path); await writer.WriteFile("Images/team-b.png", rootFolder.Path); await writer.WriteFile("Images/remove.png", rootFolder.Path); await writer.WriteFile("Images/logo.png", rootFolder.Path); await writer.WriteFolder("Images", rootFolder.Path); } } catch (Exception ex) { Debug.WriteLine(ex.StackTrace); } }