1 write to Log
Microsoft.Build.Utilities.Core (1)
AppDomainIsolatedTask.cs (1)
31
Log
= new TaskLoggingHelper(this);
48 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.Arcade.Sdk (17)
src\InstallDotNetCore.cs (11)
47
Log
.LogWarning($"Unable to find global.json file '{GlobalJsonPath} exiting");
52
Log
.LogError($"Unable to find dotnet install script '{DotNetInstallScript} exiting");
53
return !
Log
.HasLoggedErrors;
86
Log
.LogError($"Unable to find translation file {VersionsPropsPath}");
87
return !
Log
.HasLoggedErrors;
104
Log
.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.");
118
Log
.LogError($"Unable to find '{item.Key}' in properties defined in '{VersionsPropsPath}'");
122
Log
.LogError($"Unable to parse '{item.Key}' from properties defined in '{VersionsPropsPath}'");
145
Log
.LogMessage(MessageImportance.Low, $"Executing: {DotNetInstallScript} {arguments}");
175
Log
.LogError("dotnet-install failed");
184
return !
Log
.HasLoggedErrors;
src\SetCorFlags.cs (4)
39
AssemblyResolution.Log =
Log
;
44
return !
Log
.HasLoggedErrors;
68
Log
.LogError($"Invalid flags: '{value}'");
75
if (
Log
.HasLoggedErrors)
src\Unsign.cs (2)
30
AssemblyResolution.Log =
Log
;
35
return !
Log
.HasLoggedErrors;
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.SignCheckTask (5)
src\SignCheckTask.cs (5)
108
Microsoft.DotNet.AssemblyResolution.Log =
Log
;
113
return succeeded && !
Log
.HasLoggedErrors;
162
Log
.LogError($"Unable to find file '{checkFile}' in folder '{ArtifactFolder}'. Try specifying 'Recursive=true` to include subfolders");
166
Log
.LogError($"found multiple files matching pattern '{checkFile}'");
169
Log
.LogError($" - {file}");