Наследование: System.Web.Services.Protocols.SoapHttpClientProtocol
 public override bool Execute()
 {
     UploadBuildServiceProxy.UploadBuildService service = new UploadBuildServiceProxy.UploadBuildService();
     service.Url = this.WebServiceUrl;
     string versionNumber = service.GetNextBuildNumber(this.Username, this.Password);
     _nextVersion = new Version(versionNumber);
     return true;
 }
Пример #2
0
        public override bool Execute()
        {
            string releaseNotes = string.Empty;

            if (this.ReleaseNotesFilePath != string.Empty) {
                releaseNotes = File.ReadAllText(this.ReleaseNotesFilePath);
            }

            UploadBuildServiceProxy.UploadBuildService service = new UploadBuildServiceProxy.UploadBuildService();
            service.Url = _webServiceUrl;
            service.UploadBuild(this.Username, this.Password, this.BuildNumber, this.BuildDate, this.IsSuccessful, this.BuildStatus, this.Version, this.IsPublic,
                releaseNotes, this.SourceCodeUrl, this.InstallerUrl, this.ClickOnceUrl);
            return true;
        }