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