257 references to LogError
Crossgen2Tasks (17)
RunReadyToRunCompiler.cs (17)
93Log.LogError(Strings.CrossgenToolMissingInPDBCompilationMode); 101Log.LogError(Strings.Crossgen2ToolMissingWhenUseCrossgen2IsSet); 106Log.LogError(Strings.Crossgen2ToolExecutableNotFound, Crossgen2Tool.ItemSpec); 112Log.LogError(Strings.DotNetHostExecutableNotFound, hostPath); 120Log.LogError(Strings.JitLibraryNotFound, jitPath); 127Log.LogError(Strings.Crossgen2MissingRequiredMetadata, MetadataKeys.JitPath); 135Log.LogError(Strings.Crossgen2MissingRequiredMetadata, MetadataKeys.TargetOS); 140Log.LogError(Strings.Crossgen2MissingRequiredMetadata, MetadataKeys.TargetArch); 149Log.LogError(Strings.CrossgenToolMissingWhenUseCrossgen2IsNotSet); 154Log.LogError(Strings.CrossgenToolExecutableNotFound, CrossgenTool.ItemSpec); 159Log.LogError(Strings.JitLibraryNotFound, MetadataKeys.JitPath); 172Log.LogError(Strings.DiaSymReaderLibraryNotFound, DiaSymReader); 179Log.LogError(Strings.MissingOutputPDBImagePath); 184Log.LogError(Strings.PDBGeneratorInputExecutableNotFound, _outputR2RImage); 197Log.LogError(Strings.InputAssemblyNotFound, _inputAssembly); 208Log.LogError(Strings.MissingOutputR2RImageFileName); 214Log.LogError(Strings.MissingOutputPDBImagePath);
ILLink.Tasks (11)
CreateRuntimeRootDescriptorFile.cs (11)
104 Log.LogError ($"File '{namespaceFilePath}' doesn't exist."); 110 Log.LogError ($"File '{mscorlibFilePath}' doesn't exist."); 116 Log.LogError ($"File '{cortypeFilePath}' doesn't exist."); 122 Log.LogError ($"File '{rexcepFilePath}' doesn't exist."); 130 Log.LogError ($"File '{iLLinkTrimXmlFilePath}' doesn't exist."); 189 Log.LogError ($"Could not figure out feature switch status in '{typeFile}' for line {def}."); 194 Log.LogError ($"BEGIN_ILLINK_FEATURE_SWITCH is not formatted correctly '{typeFile}' for line {def}."); 205 Log.LogError ($"Could not figure out feature switch status in '{typeFile}' for line {def}."); 471 Log.LogError ($"Unknown namespace '{classNamespace}'."); 540 log.LogError ($"Could not figure out ifdefs in '{filePath}' around line {linenum}."); 554 log.LogError ($"Could not figure out ifdefs in '{filePath}' around line {linenum}.");
installer.tasks (11)
GenerateFileVersionProps.cs (1)
115Log.LogError(
GenerateRunScript.cs (3)
30Log.LogError("Please provide at least one test command to execute via the RunCommands property."); 36Log.LogError($"Runner script template {TemplatePath} was not found."); 54Log.LogError($"Generating runner scripts with extension '{extension}' is not supported.");
GenerateTestSharedFrameworkDepsFile.cs (1)
37Log.LogError($"{nameof(SharedFrameworkDirectory)} '{SharedFrameworkDirectory}' does not exist.");
RegenerateDownloadTable.cs (4)
104Log.LogError($"Readme '{ReadmeFile}' has no '{TableComment}' section."); 109Log.LogError($"Readme '{ReadmeFile}' has no '{LinksComment}' section."); 130Log.LogError($"Branch '{branch.ItemSpec}' has no Abbr metadata."); 136Log.LogError($"Platform '{platform.ItemSpec}' has no Abbr metadata.");
StaticFileRegeneration\RegenerateThirdPartyNotices.cs (2)
88Log.LogError($"Failed to parse response from {c.Url}"); 121Log.LogError($"Unable to find exactly one TPN for {miscount.Key}");
Microsoft.Build.CommandLine.UnitTests (2)
ValidateAssemblyLoadContext.cs (2)
30Log.LogError($"Unexpected AssemblyLoadContext name: \"{thisLoadContext.Name}\", but the current executing assembly was {typeof(ValidateAssemblyLoadContext).Assembly.GetName().Name}"); 39Log.LogError($"Load context was a {thisLoadContext.GetType().AssemblyQualifiedName} instead of an {typeof(MSBuildLoadContext).AssemblyQualifiedName}");
Microsoft.Build.Tasks.CodeAnalysis (1)
ManagedCompiler.cs (1)
830Log.LogError(message);
Microsoft.Build.Tasks.Core (6)
AssemblyDependency\AssemblyFoldersFromConfig\AssemblyFoldersFromConfigResolver.cs (1)
144_taskLogger.LogError(ResourceUtilities.GetResourceString("ResolveAssemblyReference.AssemblyFoldersConfigFileMalformed"), _assemblyFolderConfigFile, e.Message);
Copy.cs (3)
291Log.LogError(CreatesDirectory, destinationFolder); 309Log.LogError(FileComment, sourceFileState.FileNameFullPath, destinationFileState.FileNameFullPath); 915Log.LogError(FileComment, sourceFileState.Name, destinationFileState.Name);
Exec.cs (1)
375Log.LogError(singleLine);
GenerateResource.cs (1)
3323_logger.LogError($"{format} not supported on .NET Core MSBuild");
Microsoft.Build.Utilities.Core (1)
ToolTask.cs (1)
1126Log.LogError(errorOrOutMessage);
Microsoft.Build.Utilities.UnitTests (2)
TaskLoggingHelper_Tests.cs (1)
135t.Log.LogError("{4");
ToolTask_Tests.cs (1)
98Log.LogError(singleLine);
Microsoft.DotNet.Arcade.Sdk (44)
src\CalculateAssemblyAndFileVersions.cs (5)
50Log.LogError($"VersionPrefix is not a valid 3-part version: {VersionPrefix}"); 56Log.LogError("Invalid value of VersionBaseShortDate"); 73Log.LogError($"The minor version specified in {nameof(VersionPrefix)} must be at most {MaxMinor}: {VersionPrefix}"); 79Log.LogError($"The patch version specified in {nameof(VersionPrefix)} must be at most {MaxBuild}: {VersionPrefix}"); 98Log.LogError($"Invalid format of {nameof(BuildNumber)}: {BuildNumber}");
src\CheckRequiredDotNetVersion.cs (6)
40Log.LogError($"Invalid version: {SdkVersion}"); 52Log.LogError($"Error accessing file '{globalJsonPath}': {e.Message}"); 77Log.LogError($"Error reading file '{globalJsonPath}': {e.Message}"); 85Log.LogError($"Unable to determine dotnet version from file '{globalJsonPath}'."); 92Log.LogError($"DotNet version specified in '{globalJsonPath}' is invalid: {minSdkVersionStr}."); 98Log.LogError($"The .NET Core SDK version {currentSdkVersion} is below the minimum required version {minSdkVersion}. You can install newer .NET Core SDK from https://www.microsoft.com/net/download.");
src\CompareVersions.cs (2)
31Log.LogError($"Invalid version: '{Left}'"); 37Log.LogError($"Invalid version: '{Right}'");
src\DownloadFile.cs (5)
52Log.LogError($"Invalid task parameter value: Retries={Retries}"); 58Log.LogError($"Invalid task parameter value: RetryDelayMilliseconds={RetryDelayMilliseconds}"); 68Log.LogError($"Invalid task parameter value: {nameof(Uri)} and {nameof(Uris)} are empty."); 102Log.LogError($"Download from all targets failed. List of attempted targets: {string.Join(", ", Uris.Select(m => m.ItemSpec))}"); 105Log.LogError($"Failed to download file using addresses in {nameof(Uri)} and/or {nameof(Uris)}.");
src\GenerateChecksums.cs (2)
30Log.LogError($"Metadata 'DestinationPath' is missing for item '{item.ItemSpec}'."); 36Log.LogError($"The file '{item.ItemSpec}' does not exist.");
src\GenerateResxSource.cs (5)
79Log.LogError("ResourceName not specified"); 98Log.LogError($"GenerateResxSource doesn't support language: '{Language}'"); 111Log.LogError("Missing resource name"); 118Log.LogError($"Missing resource value: '{name}'"); 124Log.LogError($"Empty resource name");
src\GenerateSourcePackageSourceLinkTargetsFile.cs (4)
53Log.LogError($"Directory '{ProjectDirectory}' contains source roots (e.g. git submodules), which is not supported."); 75Log.LogError($"No SourceRoot with SourceLinkUrl contains directory '{ProjectDirectory}'."); 81Log.LogError($"SourceLinkUrl must contain exactly one '*': '{innerMostRootSourceLinkUrl}'"); 87Log.LogError($"SourceRoot must end with a directory separator: '{innerMostRootItemSpec}'");
src\GetLicenseFilePath.cs (2)
68Log.LogError($"No license file found in '{Directory}'."); 72Log.LogError($"Multiple license files found in '{Directory}': '{string.Join("', '", matches)}'.");
src\InstallDotNetCore.cs (5)
52Log.LogError($"Unable to find dotnet install script '{DotNetInstallScript} exiting"); 86Log.LogError($"Unable to find translation file {VersionsPropsPath}"); 118Log.LogError($"Unable to find '{item.Key}' in properties defined in '{VersionsPropsPath}'"); 122Log.LogError($"Unable to parse '{item.Key}' from properties defined in '{VersionsPropsPath}'"); 175Log.LogError("dotnet-install failed");
src\LocateDotNet.cs (2)
64Log.LogError($"Unable to determine dotnet version from file '{globalJsonPath}'."); 75Log.LogError($"Unable to find dotnet with SDK version '{sdkVersion}'");
src\SetCorFlags.cs (1)
68Log.LogError($"Invalid flags: '{value}'");
src\SingleError.cs (1)
28Log.LogError(Text);
src\SourceBuild\ReadSourceBuildIntermediateNupkgDependencies.cs (3)
69Log.LogError($"Dependency SourceBuild RepoName null or empty in '{VersionDetailsXmlFile}' element {d}"); 77Log.LogError($"Dependency Name does not contain '{SourceBuildIntermediateNupkgPrefix}' in '{VersionDetailsXmlFile}' element {d}. Only place <SourceBuild> elements on source-build intermediate nupkgs."); 91Log.LogError($"Dependency Version null or empty in '{VersionDetailsXmlFile}' element {d}");
src\ValidateLicense.cs (1)
43Log.LogError($"License file content '{LicensePath}' doesn't match the expected license '{ExpectedLicensePath}'.");
Microsoft.DotNet.Build.Manifest (8)
BlobArtifactModelFactory.cs (1)
38_log.LogError($"Missing 'RelativeBlobPath' property on blob {item.ItemSpec}");
BuildModelFactory.cs (6)
95_log.LogError($"Missing 'Kind' property on artifact {item.ItemSpec}. Possible values are 'Blob', 'PDB', 'Package'."); 154_log.LogError("Missing 'location' property from ManifestBuildData"); 186_log.LogError($"Could not open asset manifest file: {assetManifestPath}"); 194_log.LogError($"Could not parse asset manifest file: {assetManifestPath}"); 253_log.LogError("No manifests to merge."); 336_log.LogError($"Build identity properties mismatch in manifest '{identity.Name}': {string.Join("; ", differences)}");
PdbArtifactModelFactory.cs (1)
36_log.LogError($"Missing 'RelativePdbPath' property on pdb {item.ItemSpec}");
Microsoft.DotNet.Build.Tasks.Feed (23)
src\BlobFeedAction.cs (5)
93Log.LogError( 116Log.LogError( 123Log.LogError($"Item '{item}' already exists at '{relativeBlobPath}'"); 138Log.LogError( 152Log.LogError($"Relative blob path is empty.");
src\common\AzureConnectionStringBuildTask.cs (3)
35Log.LogError("If the ConnectionString property is set, you must not provide AccountKey / AccountName. These values will be deprecated in the future."); 50Log.LogError("Error parsing connection string. Please review its value."); 56Log.LogError("Error, must provide either ConnectionString or AccountName with AccountKey");
src\common\GeneralUtils.cs (1)
180log.LogError($"Unable to determine whether '{feedUrl}' is public or internal.");
src\common\UploadToAzure.cs (1)
72Log.LogError("No items were provided for upload.");
src\CreateAzureDevOpsFeed.cs (3)
85Log.LogError($"The CommitSHA should be at least {ShaUsableLength} characters long: CommitSha is '{CommitSha}'. Aborting feed creation."); 118Log.LogError($"The name of the new feed ({baseFeedName}) exceeds the maximum feed name size of 64 chars. Aborting feed creation."); 168Log.LogError($"The name of the new feed ({baseFeedName}) exceeds the maximum feed name size of 64 chars. Aborting feed creation.");
src\model\SetupTargetFeedConfigV3.cs (1)
186Log?.LogError($"No key found for {feed}, unable to publish to it.");
src\model\SetupTargetFeedConfigV4.cs (1)
159Log?.LogError($"No key found for {feed}, unable to publish to it.");
src\MSBuildLogger.cs (1)
29_log.LogError(message);
src\PublishSignedAssets.cs (1)
101Log.LogError($"Could not locate '{package.Id}.{package.Version}' at '{localPackagePath}'");
src\PushToBuildStorage.cs (6)
169Log.LogError($"No items to push. Please check ItemGroup ItemsToPush."); 179Log.LogError($"Could not parse publishing infra version '{PublishingVersion}'"); 200Log.LogError($"Failed to construct build model from input artifacts."); 215Log.LogError($"Could not find file {package.OriginalFile}."); 226Log.LogError($"Could not find file {blobArtifact.OriginalFile}."); 237Log.LogError($"Could not find file {pdbArtifact.OriginalFile}.");
Microsoft.DotNet.Build.Tasks.Installers (1)
src\Common\Internal\BuildTask.cs (1)
50_logger.LogError(message, messageArgs);
Microsoft.DotNet.Build.Tasks.Packaging (2)
GenerateNuSpec.cs (1)
102Log.LogError(ex.ToString());
src\Common\Internal\BuildTask.cs (1)
50_logger.LogError(message, messageArgs);
Microsoft.DotNet.Build.Tasks.TargetFramework (1)
src\Common\Internal\BuildTask.cs (1)
50_logger.LogError(message, messageArgs);
Microsoft.DotNet.Build.Tasks.Templating (1)
GenerateFileFromTemplate.cs (1)
63Log.LogError($"File {TemplateFile} does not exist");
Microsoft.DotNet.Build.Tasks.VisualStudio (8)
OptProf\FindLatestDrop.cs (1)
45Log.LogError($"Error parsing file '{DropListPath}': {e.Message}");
OptProf\GenerateTrainingInputFiles.cs (4)
54Log.LogError($"Unable to open the config file '{ConfigurationFile}': {e.Message}"); 60Log.LogError($"Invalid configuration file format: missing 'products' element in '{ConfigurationFile}'."); 65Log.LogError($"Invalid configuration file format: missing 'assemblies' element in '{ConfigurationFile}'."); 70Log.LogError($"Directory specified in InsertionDirectory does not exist: '{InsertionDirectory}'.");
OptProf\GenerateTrainingPropsFile.cs (1)
46Log.LogError($"Invalid value of vsDropName argument: must start with '{ProductDropNamePrefix}'.");
OptProf\GetRunSettingsSessionConfiguration.cs (1)
70Log.LogError(e.Message);
Vsix\FinalizeInsertionVsixFile.cs (1)
82Log.LogError($"PackageManifest.Installation element not found in manifest of '{VsixFilePath}'");
Microsoft.DotNet.Build.Tasks.Workloads (6)
CreateVisualStudioWorkload.wix.cs (3)
182Log.LogError(Strings.ManifestPackageGroupExists, manifestPackage.Id, packageGroup.Name); 321Log.LogError(Strings.WorkloadComponentExists, workload.Id, component.Name); 326Log.LogError(Strings.WorkloadComponentExists, workload.Id, previewComponent.Name);
CreateVisualStudioWorkloadSet.wix.cs (1)
62Log.LogError(Strings.ManifestPackageGroupExists, workloadSetPackage.Id, packageGroup.Name);
src\Common\Internal\BuildTask.cs (1)
50_logger.LogError(message, messageArgs);
VisualStudioWorkloadTaskBase.wix.cs (1)
109Log.LogError(e.ToString());
Microsoft.DotNet.Deployment.Tasks.Links (7)
Microsoft.DotNet.GenAPI (1)
src\Common\Internal\BuildTask.cs (1)
50_logger.LogError(message, messageArgs);
Microsoft.DotNet.GenFacades (1)
src\Common\Internal\BuildTask.cs (1)
50_logger.LogError(message, messageArgs);
Microsoft.DotNet.Helix.Sdk (16)
CancelHelixJob.cs (2)
56Log.LogError($"Cannot cancel job '{job}'; please supply either the Job's cancellation token or the job creator's access token"); 68Log.LogError($"Job '{correlationId}' was not found. Check if you are mixing and matching authenticated and anonymous access, or accessing instantly after job creation");
CreateXHarnessAndroidWorkItems.cs (3)
78Log.LogError($"App package not found in {apkPath}"); 87Log.LogError($"Unsupported payload file `{fileSystem.GetFileName(apkPath)}`; expecting .apk or .zip"); 102Log.LogError($"{MetadataNames.AndroidPackageName} metadata must be specified when not supplying custom commands");
CreateXHarnessAppleWorkItems.cs (3)
113Log.LogError($"App bundle not found in {appFolderPath}"); 133Log.LogError($"'{MetadataNames.Target}' metadata must be specified - " + 146Log.LogError($"Invalid value \"{launchTimeoutProp}\" provided in <{MetadataNames.LaunchTimeout}>");
InstallDotNetTool.cs (2)
92Log.LogError("InstallDotNetTool task doesn't accept * in the version"); 173Log.LogError(
LoggerExtensions.cs (1)
46log.LogError(message, messageArgs);
ProvisioningProfileProvider.cs (2)
99_log.LogError($"{nameof(CreateXHarnessAppleWorkItems.TmpDir)} parameter not set but required for real device targets!"); 105_log.LogError($"{nameof(CreateXHarnessAppleWorkItems.ProvisioningProfileUrl)} parameter not set but required for real device targets!");
WaitForHelixJobCompletion.cs (1)
60Log.LogError($"Helix encountered job-level error(s) for this job ({errorMsgs}). Please contact dnceng with this information.");
XharnessTaskBase.cs (2)
69Log.LogError($"Invalid value \"{testTimeoutProp}\" provided in <{MetadataName.TestTimeout}>"); 79Log.LogError($"Invalid value \"{workItemTimeoutProp}\" provided in <{MetadataName.WorkItemTimeout}>");
Microsoft.DotNet.NuGetRepack.Tasks (11)
src\ReplacePackageParts.cs (10)
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}"); 216Log.LogError($"'{SourcePackage}' has no .nuspec file in the root"); 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 (1)
69Log.LogError($"Invalid value for task argument {nameof(VersionKind)}: '{VersionKind}'. Specify 'release' or 'prerelease' or leave empty.");
Microsoft.DotNet.PackageTesting (1)
src\Common\Internal\BuildTask.cs (1)
50_logger.LogError(message, messageArgs);
Microsoft.DotNet.SharedFramework.Sdk (1)
src\Common\Internal\BuildTask.cs (1)
50_logger.LogError(message, messageArgs);
Microsoft.DotNet.SignCheckTask (3)
src\SignCheckTask.cs (3)
162Log.LogError($"Unable to find file '{checkFile}' in folder '{ArtifactFolder}'. Try specifying 'Recursive=true` to include subfolders"); 166Log.LogError($"found multiple files matching pattern '{checkFile}'"); 169Log.LogError($" - {file}");
Microsoft.DotNet.SignTool (58)
src\BatchSignUtil.cs (27)
69_log.LogError("Error during execution of signing process."); 178_log.LogError($"Failed to extract engine from {file.FullPath}"); 193_log.LogError($"Failed to sign engines"); 208_log.LogError($"Failed to attach engine to {engine.Value.FullPath}"); 289_log.LogError($"Don't know how to repack file '{file.FullPath}'"); 407log.LogError("WixToolsPath must be defined to run WiX tooling. Wixpacks are used to produce signed msi's during post-build signing. If this repository is using in-build signing, remove '*.wixpack.zip' from ItemsToSign."); 413log.LogError($"WixToolsPath '{wixToolsPath}' not found."); 457_log.LogError($"Updating '{dst}' with signed content failed: '{e.Message}'"); 482log.LogError($"Assembly {fileName} cannot be signed with a VSIX certificate"); 489log.LogError($"VSIX {fileName} must be signed with a VSIX certificate"); 494log.LogError($"VSIX {fileName} cannot be strong name signed."); 501log.LogError($"Deb package {fileName} should have a certificate name."); 505log.LogError($"Deb package {fileName} must be signed with a LinuxSign certificate."); 512log.LogError($"Rpm package {fileName} should have a certificate name."); 516log.LogError($"Rpm package {fileName} must be signed with a LinuxSign certificate."); 523log.LogError($"Nupkg {fileName} should have a certificate name."); 528log.LogError($"Nupkg {fileName} cannot be strong name signed."); 535log.LogError($"Pkg {fileName} should have a certificate name."); 540log.LogError($"Pkg {fileName} cannot be strong name signed."); 547log.LogError($"AppBundle {fileName} should have a certificate name."); 552log.LogError($"AppBundle {fileName} cannot be strong name signed."); 559log.LogError($"Zip {fileName} should not be signed with this certificate: {fileName.SignInfo.Certificate}"); 564log.LogError($"Zip {fileName} cannot be strong name signed."); 571log.LogError($"Wix file {fileName} should have a certificate name."); 576log.LogError($"Wix file {fileName} cannot be strong name signed."); 646_log.LogError($"{fileType} {file.FullPath} is not signed properly."); 673_log.LogError($"Assembly {file.FullPath} is not strong-name signed correctly.");
src\Configuration.cs (5)
183_log.LogError("Could not determine certificate name for signable file(s):"); 190_log.LogError($"\tFile: {erroredFile.FileName}"); 195_log.LogError($"\t\t{containerName}"); 235_log.LogError($"Failed to build wix data for {fileSignInfo.FullPath}"); 246_log.LogError($"Failed to build zip data for {fileSignInfo.FullPath}");
src\RealSignTool.cs (2)
83_log.LogError($"MSBuild process did not exit within '{_dotnetTimeout}' ms."); 91_log.LogError($"Failed to execute MSBuild on the project file '{projectFilePath}'" +
src\SignTool.cs (2)
88_log.LogError($"Failed to zip file {file.FullPath} to {zipFilePath}"); 121_log.LogError($"Failed to unzip file {item.Value} to {item.Key}");
src\SignToolTask.cs (18)
209Log.LogError($"DotNet was not found at this path: '{DotNetPath}'."); 220Log.LogError($"PkgToolPath ('{PkgToolPath}') does not exist & is required for unpacking, repacking, and notarizing .pkg files and .app bundles on MacOS."); 225Log.LogError($"WixToolsPath ('{WixToolsPath}') does not exist."); 264Log.LogError($"Existing signing container cache no longer supported."); 325Log.LogError($"Both MacCertificate and MacNotarizationAppName must be specified"); 330Log.LogError($"DualSigningAllowed must be 'true' or 'false"); 370Log.LogError($"Paths specified in {nameof(ItemsToSign)} must be absolute: '{itemToSign}'."); 386Log.LogError($"All {nameof(ItemsToSign)} must be within the cone of a single directory."); 428Log.LogError($"Value of {nameof(FileExtensionSignInfo)} is invalid: '{extension}'"); 434Log.LogError($"CertificateName metadata of {nameof(FileExtensionSignInfo)} is invalid: '{certificate}'"); 446Log.LogError($"Multiple certificates for extension '{extension}' defined for CollisionPriorityId '{signInfo.CollisionPriorityId}'. There should be one certificate per extension per collision priority id."); 475Log.LogError($"An invalid strong name was specified in {nameof(StrongNameSignInfo)}: '{strongName}'"); 481Log.LogError($"PublicKeyToken metadata of {nameof(StrongNameSignInfo)} is invalid: '{publicKeyToken}'"); 532Log.LogError($"{nameof(FileSignInfo)} should specify file name and extension, not a full path: '{fileName}'"); 538Log.LogError($"TargetFramework metadata of {nameof(FileSignInfo)} is invalid: '{targetFramework}'"); 544Log.LogError($"CertificateName metadata of {nameof(FileSignInfo)} is invalid: '{certificateName}'"); 550Log.LogError($"PublicKeyToken metadata for {nameof(FileSignInfo)} is invalid: '{publicKeyToken}'"); 557Log.LogError($"Duplicate entries in {nameof(FileSignInfo)} with the same key ('{fileName}', '{publicKeyToken}', '{targetFramework}'): '{existingCert}', '{certificateName}'.");
src\ZipData.cs (4)
283log.LogError($"Packaging of wix file '{FileSignInfo.FullPath}' failed"); 289log.LogError($"Wix tool execution passed, but output file '{outputFileName}' was not found."); 538log.LogError(e.Message); 551log.LogError($"Failed to create new DEB package: {FileSignInfo.FileName}");
Microsoft.DotNet.SourceBuild.Tasks (2)
src\UsageReport\ValidateUsageAgainstBaseline.cs (1)
90Log.LogError(
src\UsageReport\WriteUsageReports.cs (1)
196Log.LogError($"No creation time property found in snapshot {snapshot.Path}");
Microsoft.Extensions.ApiDescription.Client (2)
GetOpenApiReferenceMetadata.cs (2)
66Log.LogError(Resources.FormatInvalidEmptyMetadataValue("CodeGenerator", type, item.ItemSpec)); 104Log.LogError(Resources.FormatDuplicateFileOutputPaths(outputPath));
Microsoft.Maui.Resizetizer (3)
DetectInvalidResourceOutputFilenamesTask.cs (1)
64 Log.LogError(builder.ToString());
GeneratePackageAppxManifest.cs (1)
108 Log.LogError(ErrorVersionNumberCombination, ApplicationDisplayVersion, ApplicationVersion);
ResizetizeImages.cs (1)
156 Log.LogError(builder.ToString());
PortableTask (2)
ShowItems.cs (2)
23Log.LogError("No AssemblyFileVersionAttribute found on core assembly"); 32Log.LogError("Items was null");
SemanticSearch.BuildTask (4)
GenerateFilteredReferenceAssembliesTask.cs (4)
82Log.LogError($"GenerateFilteredReferenceAssembliesTask failed with exception:{Environment.NewLine}{e}"); 174Log.LogError($"Unable to read '{outputFilePath}': {e.Message}"); 181Log.LogError( 196Log.LogError($"Error updating baseline '{outputFilePath}': {e.Message}");