public void ProcessCommand(IExecutionContext context, Command command)
 {
     // TODO: update tasklib alway product ##vso[task.logissue]
     if (String.Equals(command.Event, WellKnownTaskCommand.LogIssue, StringComparison.OrdinalIgnoreCase) ||
         String.Equals(command.Event, WellKnownTaskCommand.LogIssue_xplatCompat, StringComparison.OrdinalIgnoreCase))
     {
         ProcessTaskIssueCommand(context, command.Properties, command.Data);
     }
     else if (String.Equals(command.Event, WellKnownTaskCommand.SetProgress, StringComparison.OrdinalIgnoreCase))
     {
         ProcessTaskProgressCommand(context, command.Properties, command.Data);
     }
     else if (String.Equals(command.Event, WellKnownTaskCommand.LogDetail, StringComparison.OrdinalIgnoreCase))
     {
         ProcessTaskDetailCommand(context, command.Properties, command.Data);
     }
     else if (String.Equals(command.Event, WellKnownTaskCommand.Complete, StringComparison.OrdinalIgnoreCase))
     {
         ProcessTaskCompleteCommand(context, command.Properties, command.Data);
     }
     else if (String.Equals(command.Event, WellKnownTaskCommand.SetSecret, StringComparison.OrdinalIgnoreCase))
     {
         ProcessTaskSetSecretCommand(context, command.Data);
     }
     else if (String.Equals(command.Event, WellKnownTaskCommand.SetVariable, StringComparison.OrdinalIgnoreCase))
     {
         ProcessTaskSetVariableCommand(context, command.Properties, command.Data);
     }
     else if (String.Equals(command.Event, WellKnownTaskCommand.AddAttachment, StringComparison.OrdinalIgnoreCase))
     {
         ProcessTaskAddAttachmentCommand(context, command.Properties, command.Data);
     }
     else if (String.Equals(command.Event, WellKnownTaskCommand.Debug, StringComparison.OrdinalIgnoreCase))
     {
         ProcessTaskDebugCommand(context, command.Data);
     }
     else if (String.Equals(command.Event, WellKnownTaskCommand.UploadSummary, StringComparison.OrdinalIgnoreCase))
     {
         ProcessTaskUploadSummaryCommand(context, command.Data);
     }
     else if (String.Equals(command.Event, WellKnownTaskCommand.UploadFile, StringComparison.OrdinalIgnoreCase))
     {
         ProcessTaskUploadFileCommand(context, command.Data);
     }
     else if (String.Equals(command.Event, WellKnownTaskCommand.SetTaskVariable, StringComparison.OrdinalIgnoreCase))
     {
         ProcessTaskSetTaskVariableCommand(context, command.Properties, command.Data);
     }
     else if (String.Equals(command.Event, WellKnownTaskCommand.SetEndpoint, StringComparison.OrdinalIgnoreCase))
     {
         ProcessTaskSetEndpointCommand(context, command.Properties, command.Data);
     }
     else if (String.Equals(command.Event, WellKnownTaskCommand.PrependPath, StringComparison.OrdinalIgnoreCase))
     {
         ProcessTaskPrepandPathCommand(context, command.Data);
     }
     else
     {
         throw new Exception(StringUtil.Loc("TaskCommandNotFound", command.Event));
     }
 }