58 references to FullPath
Microsoft.DotNet.SignTool (58)
src\BatchSignUtil.cs (29)
105_signTool.RemovePublicSign(fileSignInfo.FullPath); 118var toRepackSet = _batchData.FilesToSign.Where(x => x.ShouldRepack)?.Select(x => x.FullPath)?.ToHashSet(); 154Path.GetExtension(fileInfo.FullPath) == ".exe").ToArray(); 170_log.LogMessage(MessageImportance.Normal, $"Extracting engine from {file.FullPath}"); 171if (!RunWixTool("insignia.exe", $"-ib {file.FullPath} -o {engineFileName}", 174_log.LogError($"Failed to extract engine from {file.FullPath}"); 196_log.LogMessage(MessageImportance.Normal, $"Attaching engine {engine.Key.FileName} to {engine.Value.FullPath}"); 201$"-ab {engine.Key.FileName} {engine.Value.FullPath} -o {engine.Value.FullPath}", workingDirectory, 204_log.LogError($"Failed to attach engine to {engine.Value.FullPath}"); 221var repackList = files.Where(w => toRepackSet.Contains(w.FullPath)).ToList(); 243FileInfo fileInfo = new FileInfo(file.FullPath); 259toRepackSet.Remove(file.FullPath); 272toRepackSet.Remove(file.FullPath); 290_log.LogError($"Don't know how to repack file '{file.FullPath}'"); 302trackedSet.Contains(x.FileSignInfo.FileContentKey)) && !toRepackSet.Contains(x.FileSignInfo.FullPath) 472foreach (var fileName in _batchData.FilesToSign.OrderBy(x => x.FullPath)) 541using (var stream = File.OpenRead(file.FullPath)) 545_log.LogError($"Assembly {file.FullPath} is NOT signed properly"); 549_log.LogMessage(MessageImportance.Low, $"Assembly {file.FullPath} is signed properly"); 555if (!_signTool.VerifySignedPowerShellFile(file.FullPath)) 557_log.LogError($"Powershell file {file.FullPath} does not have a signature mark."); 565foreach (var (relativeName, _, _) in ZipData.ReadEntries(file.FullPath, _signTool.TempDir, _signTool.TarToolPath, ignoreContent: true)) 592_log.LogError($"Container {file.FullPath} does not have signature marker."); 596_log.LogMessage(MessageImportance.Low, $"Container {file.FullPath} has a signature marker."); 608_log.LogMessage($"Skipping strong-name validation for {file.FullPath}."); 612if (file.IsManaged() && !file.IsCrossgened() && !_signTool.VerifyStrongNameSign(file.FullPath)) 614_log.LogError($"Assembly {file.FullPath} is not strong-name signed correctly."); 618_log.LogMessage(MessageImportance.Low, $"Assembly {file.FullPath} strong-name signature is valid.");
src\Configuration.cs (3)
215_filesToCopy.Add(new KeyValuePair<string, string>(existingSignInfo.FullPath, file.FullPath)); 230_log.LogMessage($"Trying to gather data for wix container {fileSignInfo.FullPath}"); 663string archivePath = zipFileSignInfo.FullPath;
src\FileSignInfo.cs (2)
62internal bool IsManaged() => ContentUtil.IsManaged(FullPath); 64internal bool IsCrossgened() => ContentUtil.IsCrossgened(FullPath);
src\SignTool.cs (7)
56_log.LogError($"Found file that need to be strong-name sign ({file.FullPath}) but path to 'sn.exe' wasn't specified."); 60_log.LogMessage($"Strong-name signing {file.FullPath} locally."); 66Arguments = $@"-R ""{file.FullPath}"" ""{file.SignInfo.StrongName}""", 75_log.LogError($"Failed to strong-name sign file {file.FullPath}"); 125File.Copy(item.FullPath, Path.Combine(osxFilesZippingDir, item.FileName), overwrite: true); 134File.Copy(Path.Combine(osxFilesZippingDir, item.FileName), item.FullPath, overwrite: true); 163AppendLine(builder, depth: 2, text: $@"<FilesToSign Include=""{Uri.EscapeDataString(fileToSign.FullPath)}"">");
src\ZipData.cs (17)
165using (var zipStream = File.Open(FileSignInfo.FullPath, FileMode.Open)) 174log.LogMessage(MessageImportance.Low, $"Didn't find signed part for nested file: {FileSignInfo.FullPath} -> {relativeName}"); 178using (var signedStream = File.OpenRead(signedPart.Value.FileSignInfo.FullPath)) 181log.LogMessage(MessageImportance.Low, $"Copying signed stream from {signedPart.Value.FileSignInfo.FullPath} to {FileSignInfo.FullPath} -> {relativeName}."); 218log.LogMessage(MessageImportance.Low, $"Didn't find signed part for nested file: {FileSignInfo.FullPath} -> {relativeName}"); 221log.LogMessage(MessageImportance.Low, $"Copying signed stream from {signedPart.Value.FileSignInfo.FullPath} to {file}."); 222File.Copy(signedPart.Value.FileSignInfo.FullPath, file, true); 227log.LogError($"Packaging of wix file '{FileSignInfo.FullPath}' failed"); 237log.LogMessage($"Created wix file {outputFileName}, replacing '{FileSignInfo.FullPath}' with '{outputFileName}'"); 238File.Copy(outputFileName, FileSignInfo.FullPath, true); 335foreach (var entry in ReadTarGZipEntries(FileSignInfo.FullPath)) 343log.LogMessage(MessageImportance.Low, $"Didn't find signed part for nested file: {FileSignInfo.FullPath} -> {relativeName}"); 347using var signedStream = File.OpenRead(signedPart.Value.FileSignInfo.FullPath); 348log.LogMessage(MessageImportance.Low, $"Copying signed stream from {signedPart.Value.FileSignInfo.FullPath} to {FileSignInfo.FullPath} -> {relativeName}."); 361using var outputFile = File.Open(FileSignInfo.FullPath, FileMode.Truncate, FileAccess.Write);