private void DeleteNonChosenTargets(Package package, TargetLib chosenTarget) { foreach (var target in package.TargetLibs) { if (target.Name != chosenTarget.Name) { // TODO: Properly abstract this ////Debug.LogFormat("Deleting Target '{0}' of package '{1}' @ '{2}'", //// target.Name, package.Name, target.FolderLocation); this.folderCommands.Delete(target.FolderLocation); } } }