1 write to Log
Microsoft.Build.Utilities.Core (1)
AppDomainIsolatedTask.cs (1)
31Log = new TaskLoggingHelper(this);
45 references to Log
Microsoft.Build.Utilities.Core (6)
AppDomainIsolatedTask.cs (6)
41Log.TaskResources = taskResources; 55Log.HelpKeywordPrefix = helpKeywordPrefix; 87get => Log.TaskResources; 88set => Log.TaskResources = value; 100get => Log.HelpKeywordPrefix; 101set => Log.HelpKeywordPrefix = value;
Microsoft.DotNet.Arcade.Sdk (17)
src\InstallDotNetCore.cs (11)
47Log.LogWarning($"Unable to find global.json file '{GlobalJsonPath} exiting"); 52Log.LogError($"Unable to find dotnet install script '{DotNetInstallScript} exiting"); 53return !Log.HasLoggedErrors; 86Log.LogError($"Unable to find translation file {VersionsPropsPath}"); 87return !Log.HasLoggedErrors; 104Log.LogMessage(MessageImportance.Low, "Skipping installing x86 runtimes because this is a non-Windows platform and .NET Core x86 is not currently supported on any non-Windows platform."); 118Log.LogError($"Unable to find '{item.Key}' in properties defined in '{VersionsPropsPath}'"); 122Log.LogError($"Unable to parse '{item.Key}' from properties defined in '{VersionsPropsPath}'"); 145Log.LogMessage(MessageImportance.Low, $"Executing: {DotNetInstallScript} {arguments}"); 175Log.LogError("dotnet-install failed"); 184return !Log.HasLoggedErrors;
src\SetCorFlags.cs (4)
39AssemblyResolution.Log = Log; 44return !Log.HasLoggedErrors; 68Log.LogError($"Invalid flags: '{value}'"); 75if (Log.HasLoggedErrors)
src\Unsign.cs (2)
30AssemblyResolution.Log = Log; 35return !Log.HasLoggedErrors;
Microsoft.DotNet.SignCheckTask (5)
src\SignCheckTask.cs (5)
108Microsoft.DotNet.AssemblyResolution.Log = Log; 113return succeeded && !Log.HasLoggedErrors; 162Log.LogError($"Unable to find file '{checkFile}' in folder '{ArtifactFolder}'. Try specifying 'Recursive=true` to include subfolders"); 166Log.LogError($"found multiple files matching pattern '{checkFile}'"); 169Log.LogError($" - {file}");
Microsoft.DotNet.SignTool.Tests (17)
SignToolTests.cs (17)
340var signTool = new FakeSignTool(signToolArgs, task.Log); 341var configuration = new Configuration(signToolArgs.TempDir, itemsToSign, strongNameSignInfo, fileSignInfo, extensionsSignInfo, additionalCertificateInfo, tarToolPath: s_tarToolPath, pkgToolPath: s_pkgToolPath, snPath: s_snPath, task.Log); 345task.Log, 371task.Log.HasLoggedErrors.Should().BeFalse(); 387var signingInput = new Configuration(_tmpDir, itemsToSign, strongNameSignInfo, fileSignInfo, extensionsSignInfo, additionalCertificateInfo, tarToolPath: s_tarToolPath, pkgToolPath: s_pkgToolPath, snPath: s_snPath, task.Log).GenerateListOfFiles(); 523var signingInput = new Configuration(_tmpDir, itemsToSign, strongNameSignInfo, fileSignInfo, s_fileExtensionSignInfo, null, tarToolPath: s_tarToolPath, pkgToolPath: s_pkgToolPath, snPath: s_snPath, task.Log).GenerateListOfFiles(); 527task.Log.HasLoggedErrors.Should().BeFalse(); 2033task.Log.HasLoggedErrors.Should().BeTrue(); 2863task.Log) 2866task.Log.HasLoggedErrors.Should().BeTrue(); 2913task.Log) 2916task.Log.HasLoggedErrors.Should().BeFalse(); 2976BatchSignUtil.RunWixTool(createFileName, outputDir, workingDir, wixToolsPath, task.Log).Should().Be(!deleteWixobjBeforeRunningTool); 2995BatchSignUtil.RunWixTool("create.cmd", "foodir", "bardir", null, task.Log).Should().BeFalse(); 2996task.Log.HasLoggedErrors.Should().BeTrue(); 3011BatchSignUtil.RunWixTool("create.cmd", "foodir", "bardir", "totally/wix/tools", task.Log).Should().BeFalse(); 3012task.Log.HasLoggedErrors.Should().BeTrue();