protected override void ProcessRecord()
        {
            if (_isXmlPathValid == false || !ValidateParameters())
            {
                return;
            }

            Init();

            if (IsEmulator() == false)
            {
                string pubSettingsFilePath = string.Empty;
                if (TryParsePubSettingFilePathParam(out pubSettingsFilePath) == false)
                {
                    if (!DownloadPublishSettings())
                    {
                        return;
                    }
                }
                else
                {
                    _controller.SetParameterByName("PublishSettingsFilePath", pubSettingsFilePath);
                }
            }

            for (int i = 0; ; i++)
            {
                DeploymentModelStepsStep step = _controller.GetStepAtIndex(i);
                Console.WriteLine("===============================");

                if (step == null)
                {
                    break;
                }

                if (!ProcessStep(step))
                {
                    break;
                }
            }
        }