private void ExportExecute() { if (UIServices.OpenFolderDialog("Choose a folder to export package to:", _folderPath, out var rootPath)) { try { Export(rootPath); UIServices.Show(Resources.ExportPackageSuccess, MessageLevel.Information); } catch (Exception ex) { if (!(ex is IOException) && !(ex is ArgumentException) && !(ex is UnauthorizedAccessException)) { DiagnosticsClient.Notify(ex); } UIServices.Show(ex.Message, MessageLevel.Error); } _folderPath = rootPath; } }