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