/// <summary>
        /// Executes the logic for this workflow activity
        /// </summary>
        /// <returns>True if signing has been sucessful false otherwise</returns>
        protected override bool InternalExecute()
        {
            var vsixFileName        = this.VSIXFilePath.Get(this.ActivityContext);
            var certificatePassword = this.CertPassword.Get(this.ActivityContext);

            using (var autoTracker = new AutoFileTrackerFromSourceControl(this.ActivityContext.GetExtension <TfsTeamProjectCollection>()))
            {
                var certficateFile = autoTracker.GetFile(this.CertFilePath.Get(this.ActivityContext));

                return(this.SignVSIXFile(vsixFileName, certficateFile, certificatePassword));
            }
        }
            protected override void InternalExecute()
            {
                var fileName = this.RegistryHostFileName.Get(this.ActivityContext);

                if (string.IsNullOrWhiteSpace(fileName))
                {
                    return;
                }

                this.LogBuildMessage(string.Format("Loading know hosts file from {0}", fileName));

                using (var autoTracker = new AutoFileTrackerFromSourceControl(this.ActivityContext.GetExtension <TfsTeamProjectCollection>()))
                {
                    int errorCode;
                    var knowHostRegistryFile = autoTracker.GetFile(fileName);

                    if ((errorCode = BasePuttyActivity.RegisterKnownHosts.RegisterKnownHostsWithFile(knowHostRegistryFile)) != 0)
                    {
                        this.LogBuildError(string.Format("Failed to register the hosts from file {0} with errorcode: {1}", fileName, errorCode));
                    }
                }
            }