1 write to _log
Microsoft.DotNet.SignTool (1)
src\BatchSignUtil.cs (1)
42
_log
= log;
36 references to _log
Microsoft.DotNet.SignTool (36)
src\BatchSignUtil.cs (36)
54
VerifyCertificates(
_log
);
56
if (
_log
.HasLoggedErrors)
69
_log
.LogError("Error during execution of signing process.");
88
VerifyAfterSign(
_log
, file);
91
if (
_log
.HasLoggedErrors)
96
_log
.LogMessage(MessageImportance.High, "Build artifacts signed and validated.");
105
_log
.LogMessage($"Removing strong name signing from: '{fileSignInfo.FileName}'");
131
_log
.LogMessage(MessageImportance.High, $"Round {round}: Signing {filesToSign.Length} files" +
146
_log
.LogMessage(MessageImportance.Low, $"{file} {collisionIdInfo}");
165
_log
.LogMessage(MessageImportance.High, $"Round {round}: Signing {enginesToSign.Length} engines.");
174
_log
.LogMessage(MessageImportance.Normal, $"Extracting engine from {file.FullPath}");
176
workingDirectory, _signTool.WixToolsPath,
_log
))
178
_log
.LogError($"Failed to extract engine from {file.FullPath}");
193
_log
.LogError($"Failed to sign engines");
200
_log
.LogMessage(MessageImportance.Normal, $"Attaching engine {engine.Key.FileName} to {engine.Value.FullPath}");
206
_signTool.WixToolsPath,
_log
))
208
_log
.LogError($"Failed to attach engine to {engine.Value.FullPath}");
233
_log
.LogMessage(MessageImportance.High, $"Repacking {repackCount} containers.");
258
_log
.LogMessage(MessageImportance.High, $"Repacking {smallRepackList.Count} containers in parallel.");
271
_log
.LogMessage(MessageImportance.High, $"Repacking {largeRepackList.Count} large containers in serial.");
286
_log
.LogMessage($"Repacking container: '{file.FileName}'");
287
zipData.Repack(
_log
, _signTool.TempDir, _signTool.Wix3ToolsPath, _signTool.WixToolsPath, _signTool.TarToolPath, _signTool.PkgToolPath);
293
_log
.LogError($"No zip data found for file '{file.FullPath}' to repack.");
299
_log
.LogError($"Don't know how to repack file '{file.FullPath}'");
461
_log
.LogMessage($"Updating '{dst}' with signed content");
466
_log
.LogError($"Updating '{dst}' with signed content failed: '{e.Message}'");
621
_log
.LogError($"Detached signature file {sigFilePath} does not exist for {file.FullPath}");
628
_log
.LogError($"Detached signature file {sigFilePath} is empty.");
632
_log
.LogMessage(MessageImportance.Low, $"Detached signature file {sigFilePath} exists and is non-empty.");
661
var status = _signTool.VerifySignedPkgOrAppBundle(
_log
, file.FullPath, _signTool.PkgToolPath);
688
_log
.LogError($"{fileType} {file.FullPath} is not signed properly.");
692
_log
.LogMessage(MessageImportance.Low, $"Signing status of {file.FullPath} could not be determined.");
696
_log
.LogMessage(MessageImportance.Low, $"{fileType} {file.FullPath} is signed properly");
707
_log
.LogMessage($"Skipping strong-name validation for {file.FullPath}.");
715
_log
.LogError($"Assembly {file.FullPath} is not strong-name signed correctly.");
719
_log
.LogMessage(MessageImportance.Low, $"Assembly {file.FullPath} strong-name signature is valid.");