コード例 #1
0
        public override bool Execute()
        {
            LogManager.AddListener(new MSBuildListener(Log));

            var options = new LinkOptions
            {
                Method              = MethodEnum,
                SkipVerify          = SkipVerify,
                GitRemoteUrl        = GitRemoteUrl != null ? new Uri(GitRemoteUrl, UriKind.Absolute) : null,
                CommitId            = GitCommitId,
                GitWorkingDirectory = GitWorkingDirectory,
            };
            bool success = Linker.Link(PdbFile.GetMetadata("FullPath"), options);

            return(success && !Log.HasLoggedErrors);
        }