protected override void CommandAction(DTEHelper helper) { List <SelectedFile> selectedFiles = helper.GetOpenedFileInCodeWindow(FileOperations.SupportsWebResourceType).ToList(); helper.AddToListForPublish(selectedFiles); }
protected override void CommandAction(DTEHelper helper) { var selectedFiles = helper.GetSelectedFilesAll(FileOperations.SupportsWebResourceType, true); helper.AddToListForPublish(null, selectedFiles); }