1 write to Log
Microsoft.Build.Utilities.Core (1)
AppDomainIsolatedTask.cs (1)
31Log = new TaskLoggingHelper(this);
31 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.NuGetRepack.Tasks (20)
src\ReplacePackageParts.cs (14)
71AssemblyResolution.Log = Log; 76return !Log.HasLoggedErrors; 92Log.LogError($"{nameof(Parts)} and {nameof(ReplacementFiles)} lists must have the same length."); 137Log.LogError($"'{SourcePackage}' has multiple .nuspec files in the root"); 158Log.LogError($"'{SourcePackage}' has invalid nuspec: missing 'metadata' element"); 165Log.LogError($"'{SourcePackage}' has invalid nuspec: missing 'id' element"); 173Log.LogError($"'{SourcePackage}' has invalid nuspec: missing 'version' element"); 179Log.LogError($"Package NuSpec specifies an invalid package version: '{packageVersion}'"); 198Log.LogError($"Failed to open replacement file '{replacementFilePath}': {e.Message}"); 209Log.LogMessage(MessageImportance.Low, $"Part '{relativePath}' of package '{SourcePackage}' replaced with '{replacementFilePath}'."); 216Log.LogError($"'{SourcePackage}' has no .nuspec file in the root"); 227Log.LogWarning($"File '{partName}' not found in package '{SourcePackage}'"); 257Log.LogError($"Invalid package version specified in {nameof(NewVersion)} parameter: '{NewVersion}'"); 267Log.LogError($"Invalid package version suffix specified in {nameof(NewVersionSuffix)} parameter: '{NewVersionSuffix}'");
src\UpdatePackageVersionTask.cs (6)
37AssemblyResolution.Log = Log; 42return !Log.HasLoggedErrors; 69Log.LogError($"Invalid value for task argument {nameof(VersionKind)}: '{VersionKind}'. Specify 'release' or 'prerelease' or leave empty."); 81Log.LogMessage(MessageImportance.High, $"Package '{packageId}' depends on a pre-release package '{dependencyId}, {dependencyVersion}'"); 98Log.LogErrorFromException(inner); 103Log.LogErrorFromException(e);
Microsoft.DotNet.SignCheck (5)
SignCheckTask.cs (5)
93Microsoft.DotNet.AssemblyResolution.Log = Log; 130Log.LogError($"Unable to find file '{checkFile}' in folder '{ArtifactFolder}'. Try specifying 'Recursive=true` to include subfolders"); 134Log.LogError($"found multiple files matching pattern '{checkFile}'"); 137Log.LogError($" - {file}"); 153return (result == 0 && !Log.HasLoggedErrors);