33 references to Log
Microsoft.DotNet.Build.Tasks.Installers (33)
src\BuildFPMToolPreReqs.cs (5)
52
Log
.LogMessage(LogImportance.Normal, "Generated RPM paramters: " + FPMParameters);
56
Log
.LogErrorFromException(e, true);
59
return !
Log
.HasLoggedErrors;
86
Log
.LogError("Exception while updating the changelog file: " + e.Message);
109
Log
.LogError("Exception while updating the copyright file: " + e.Message);
src\CreateLightCommandPackageDrop.cs (1)
36
return !
Log
.HasLoggedErrors;
src\CreateLitCommandPackageDrop.cs (1)
40
return !
Log
.HasLoggedErrors;
src\CreateWixCommandPackageDropBase.cs (6)
158
Log
.LogError($"Wix source file extension {wixSrcFileExtension} is not supported.");
190
Log
.LogMessage(LogImportance.Normal, $"Creating modified wixobj file '{wixObjFilePath}'...");
195
Log
.LogError($"Failed to open the wixobj file '{wixObjFilePath}'");
254
Log
.LogError($"No fields in row ('{xpath}') of document '{doc.BaseUri}'");
335
Log
.LogError($"Could not locate a file within {row}");
339
Log
.LogError($"Could not locate file {oldPath}. Please ensure the file exists and/or pass AdditionalBasePaths for non-rooted file paths.");
src\ExecWithRetries.cs (3)
80
Log
.LogError("Child Exec task failed to execute.");
94
Log
.LogError(message);
101
Log
.LogMessage(LogImportance.High, $"{message} -- Retrying after {delay}...");
src\GenerateCurrentVersion.cs (6)
70
Log
.LogWarning("The specified Padding '{0}' has to be equal to or greater than 5. Using 5 as a default now.", Padding);
80
Log
.LogError("The seed date '{0}' is not valid. Please specify a date in the short format.({1})", SeedDate, DateFormat);
89
Log
.LogError("The date '{0}' is not valid. Please pass in a date after {1}.", SeedDate, ComparisonDate);
105
Log
.LogError("The OfficialBuildId doesn't follow the expected({0}.rr) format: '{1}'", dateFormat, match.Groups[1].Value);
113
Log
.LogError("Error: Invalid OfficialBuildId was passed: '{0}'", buildId);
133
Log
.LogError("The comparison date '{0}' is not valid. Please specify a date in the short format.({1})", comparisonDate, DateFormat);
src\GenerateJsonObjectString.cs (2)
102
return !
Log
.HasLoggedErrors;
139
Log
.LogError($"Item '{item.ItemSpec}' has no String or Object value.");
src\GenerateMacOSDistributionFile.cs (1)
125
Log
.LogErrorFromException(ex, false);
src\GenerateMsiVersion.cs (3)
46
Log
.LogError("Either BuildNumber or BuildNumberMajor and BuildNumberMinor are required parameters.");
51
Log
.LogError("You must specify either BuildNumber or BuildNumberMajor and BuildNumberMinor, you cannot specify both parameters.");
56
Log
.LogError("If you specify a BuildNumberMajor, you must also specify the BuildNumberMinor.");
src\StabilizeWixFileId.cs (5)
63
Log
.LogError($"{nameof(FileElementToStabilize)} {file.ItemSpec} has null/empty ReplacementId metadata.");
78
Log
.LogError(
89
Log
.LogError($"Match has no Id attribute: {matchingFileElements[0]}");
93
Log
.LogMessage(
102
return !
Log
.HasLoggedErrors;