286 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)
809Log.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)
263Log.LogError(CreatesDirectory, destinationFolder); 281Log.LogError(FileComment, sourceFileState.FileNameFullPath, destinationFileState.FileNameFullPath); 867Log.LogError(FileComment, sourceFileState.Name, destinationFileState.Name);
Exec.cs (1)
373Log.LogError(singleLine);
GenerateResource.cs (1)
3328_logger.LogError(format.ToString() + " 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)
136t.Log.LogError("{4");
ToolTask_Tests.cs (1)
98Log.LogError(singleLine);
Microsoft.DotNet.ApiCompat (1)
src\Common\Internal\BuildTask.cs (1)
50_logger.LogError(message, messageArgs);
Microsoft.DotNet.Arcade.Sdk (43)
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)
51Log.LogError($"Invalid task parameter value: Retries={Retries}"); 57Log.LogError($"Invalid task parameter value: RetryDelayMilliseconds={RetryDelayMilliseconds}"); 67Log.LogError($"Invalid task parameter value: {nameof(Uri)} and {nameof(Uris)} are empty."); 101Log.LogError($"Download from all targets failed. List of attempted targets: {string.Join(", ", Uris.Select(m => m.ItemSpec))}"); 104Log.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)
47Log.LogError($"Unable to find dotnet install script '{DotNetInstallScript} exiting"); 81Log.LogError($"Unable to find translation file {VersionsPropsPath}"); 113Log.LogError($"Unable to find '{item.Key}' in properties defined in '{VersionsPropsPath}'"); 117Log.LogError($"Unable to parse '{item.Key}' from properties defined in '{VersionsPropsPath}'"); 170Log.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 (2)
69Log.LogError($"Dependency SourceBuild RepoName null or empty in '{VersionDetailsXmlFile}' element {d}"); 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.Tasks.Feed (70)
src\AzureStorageAssetPublisher.cs (3)
43_log.LogError($"Asset '{file}' already exists with different contents at '{blobClient.Uri}'"); 49_log.LogError($"Asset '{file}' already exists at '{blobClient.Uri}'"); 65_log.LogError($"Unexpected exception publishing file {file} to {blobClient.Uri}: {e.Message}");
src\BlobArtifactModelFactory.cs (1)
39_log.LogError($"Missing 'RelativeBlobPath' property on blob {item.ItemSpec}");
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\BuildModelFactory.cs (2)
212_log.LogError("Missing 'location' property from ManifestBuildData"); 244_log.LogError($"Could not parse asset manifest file: {assetManifestPath}");
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)
308log.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\GenerateBuildManifest.cs (1)
122Log.LogError($"Could not parse '{PublishingVersion}' as a valid publishing infrastructure version.");
src\model\SetupTargetFeedConfigV3.cs (1)
168Log?.LogError($"No key found for {feed}, unable to publish to it.");
src\PublishArtifactsInManifest.cs (3)
315Log.LogError($"Problem reading asset manifest path from '{manifestFullPath}'"); 324Log.LogError("This task is not able to handle legacy manifests."); 333Log.LogError($"The manifest version '{buildModel.Identity.PublishingVersion}' is not recognized by the publishing task.");
src\PublishArtifactsInManifestBase.cs (32)
297Log.LogError($"Asset '{asset.Name}' is specified twice in the build information. Assets should not be duplicated."); 326Log.LogError($"Asset with Id {assetId} {versionMsg} isn't registered on the BAR Build with ID {BARBuildId}"); 361Log.LogError($"Use of non-internal feed '{feedConfig.TargetURL}' is invalid for an internal build. This can be overridden with '{nameof(SkipSafetyChecks)}= true'"); 407Log.LogError($"Package '{package.Id}' has invalid version '{package.Version}'"); 415Log.LogError($"Package '{package.Id}' has stable version '{package.Version}' but is targeted at a non-isolated feed '{feedConfig.TargetURL}'"); 548Log.LogError(ex.Message); 622Log.LogError(ex.Message); 751Log.LogError(ex.Message); 759Log.LogError("Temporary symbols directory does not exists."); 829Log.LogError( 837Log.LogError($"No target feed configuration found for artifact category: '{category}'."); 949Log.LogError("Container Id does not exists"); 1066Log.LogError($"No target feed configuration found for artifact category: '{category}'."); 1119Log.LogError($"Invalid target feed config category '{category}'."); 1147Log.LogError($"Invalid target feed config category '{category}'."); 1175Log.LogError($"Could not locate '{package.Id}.{package.Version}' at '{localPackagePath}'"); 1234Log.LogError( 1317Log.LogError( 1439Log.LogError($"Package '{localPackageLocation}' already exists on '{feedConfig.TargetURL}' with different content."); 1457Log.LogError($"Failed to publish package '{id}@{version}' to '{feedConfig.TargetURL}' after {MaxRetryCount} attempts. (Final status: {packageStatus})"); 1466Log.LogError($"Unexpected exception pushing package '{id}@{version}': {e.Message}"); 1471Log.LogError($"Output from nuget.exe: {Environment.NewLine}StdOut:{Environment.NewLine}{nugetResult.StandardOut}{Environment.NewLine}StdErr:{Environment.NewLine}{nugetResult.StandardError}"); 1588Log.LogError($"Could not locate '{asset} at '{localBlobPath}'"); 1634Log.LogError($"Could not locate '{asset} at '{localBlobPath}'"); 1678Log.LogError( 1776Log.LogError($"The property {prop.Name} is required but doesn't have a value set."); 1790Log.LogError($"The property {nameof(BlobAssetsBasePath)} is required but doesn't have a value set."); 1795Log.LogError($"The property {nameof(PackageAssetsBasePath)} is required but doesn't have a value set."); 1800Log.LogError($"The property {nameof(BARBuildId)} is required but doesn't have a value set."); 1805Log.LogError($"The property {nameof(MaestroApiEndpoint)} is required but doesn't have a value set."); 1810Log.LogError($"The property {nameof(AzdoApiToken)} is required when using streaming publishing, but doesn't have a value set."); 1815Log.LogError($"The property {nameof(ArtifactsBasePath)} is required when using streaming publishing, but doesn't have a value set.");
src\PublishArtifactsInManifestV3.cs (6)
58Log.LogError("Missing required properties. Aborting execution."); 70Log.LogError( 80Log.LogError( 120Log.LogError($"Channel with ID '{targetChannelId}' is not configured to be published to."); 126Log.LogError($"Channel with ID '{targetChannelId}' does not exist in BAR."); 167Log.LogError($"No target feeds were found to publish the assets to.");
src\PublishSignedAssets.cs (1)
101Log.LogError($"Could not locate '{package.Id}.{package.Version}' at '{localPackagePath}'");
src\PublishSymbolsHelper.cs (1)
153_log.LogError(format, arguments);
src\PushToAzureDevOpsArtifacts.cs (5)
96Log.LogError($"No items to push. Please check ItemGroup ItemsToPush."); 115Log.LogError($"Could not find file {blobItem.ItemSpec}."); 158Log.LogError($"Could not find file {packagePath.ItemSpec}."); 170Log.LogError($"Could not find file {blobItem.ItemSpec}."); 188Log.LogError($"Could not parse publishing infra version '{PublishingVersion}'");
src\SigningInformationModelFactory.cs (1)
58_log.LogError($"Item to sign '{itemToSign}' was not found in the artifacts");
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)
53Log.LogError($"Cannot cancel job '{job}'; please supply either the Job's cancellation token or the job creator's access token"); 65Log.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)
75Log.LogError($"App package not found in {apkPath}"); 84Log.LogError($"Unsupported payload file `{fileSystem.GetFileName(apkPath)}`; expecting .apk or .zip"); 99Log.LogError($"{MetadataNames.AndroidPackageName} metadata must be specified when not supplying custom commands");
CreateXHarnessAppleWorkItems.cs (3)
110Log.LogError($"App bundle not found in {appFolderPath}"); 130Log.LogError($"'{MetadataNames.Target}' metadata must be specified - " + 143Log.LogError($"Invalid value \"{launchTimeoutProp}\" provided in <{MetadataNames.LaunchTimeout}>");
InstallDotNetTool.cs (2)
89Log.LogError("InstallDotNetTool task doesn't accept * in the version"); 170Log.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)
57Log.LogError($"Helix encountered job-level error(s) for this job ({errorMsgs}). Please contact dnceng with this information.");
XharnessTaskBase.cs (2)
66Log.LogError($"Invalid value \"{testTimeoutProp}\" provided in <{MetadataName.TestTimeout}>"); 76Log.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.SignCheck (3)
SignCheckTask.cs (3)
130Log.LogError($"Unable to find file '{checkFile}' in folder '{ArtifactFolder}'. Try specifying 'Recursive=true` to include subfolders"); 134Log.LogError($"found multiple files matching pattern '{checkFile}'"); 137Log.LogError($" - {file}");
Microsoft.DotNet.SignTool (46)
src\BatchSignUtil.cs (21)
68_log.LogError("Error during execution of signing process."); 174_log.LogError($"Failed to extract engine from {file.FullPath}"); 189_log.LogError($"Failed to sign engines"); 204_log.LogError($"Failed to attach engine to {engine.Value.FullPath}"); 290_log.LogError($"Don't know how to repack file '{file.FullPath}'"); 408log.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."); 414log.LogError($"WixToolsPath '{wixToolsPath}' not found."); 458_log.LogError($"Updating '{dst}' with signed content failed: '{e.Message}'"); 483log.LogError($"Assembly {fileName} cannot be signed with a VSIX certificate"); 490log.LogError($"VSIX {fileName} must be signed with a VSIX certificate"); 495log.LogError($"VSIX {fileName} cannot be strong name signed."); 502log.LogError($"Nupkg {fileName} should have a certificate name."); 507log.LogError($"Nupkg {fileName} cannot be strong name signed."); 514log.LogError($"Zip {fileName} should not be signed with this certificate: {fileName.SignInfo.Certificate}"); 519log.LogError($"Zip {fileName} cannot be strong name signed."); 526log.LogError($"Wix file {fileName} should have a certificate name."); 531log.LogError($"Wix file {fileName} cannot be strong name signed."); 545_log.LogError($"Assembly {file.FullPath} is NOT signed properly"); 557_log.LogError($"Powershell file {file.FullPath} does not have a signature mark."); 592_log.LogError($"Container {file.FullPath} does not have signature marker."); 614_log.LogError($"Assembly {file.FullPath} is not strong-name signed correctly.");
src\Configuration.cs (3)
178_log.LogError("Could not determine certificate name for signable file(s):"); 185_log.LogError($"\tFile: {erroredFile.FileName}"); 190_log.LogError($"\t\t{containerName}");
src\RealSignTool.cs (1)
63_log.LogError($"Failed to execute MSBuild on the project file {projectFilePath}");
src\SignTool.cs (2)
56_log.LogError($"Found file that need to be strong-name sign ({file.FullPath}) but path to 'sn.exe' wasn't specified."); 75_log.LogError($"Failed to strong-name sign file {file.FullPath}");
src\SignToolTask.cs (17)
185Log.LogError($"MSBuild was not found at this path: '{MSBuildPath}'."); 212Log.LogError($"An incorrect full path to 'sn.exe' was specified: {SNBinaryPath}"); 223Log.LogError($"An incorrect full path to 'sn.exe' was specified: {SNBinaryPath}"); 229Log.LogError($"WixToolsPath ('{WixToolsPath}') does not exist."); 264Log.LogError($"Existing signing container cache no longer supported."); 325Log.LogError($"Paths specified in {nameof(ItemsToSign)} must be absolute: '{itemToSign}'."); 341Log.LogError($"All {nameof(ItemsToSign)} must be within the cone of a single directory."); 383Log.LogError($"Value of {nameof(FileExtensionSignInfo)} is invalid: '{extension}'"); 389Log.LogError($"CertificateName metadata of {nameof(FileExtensionSignInfo)} is invalid: '{certificate}'"); 401Log.LogError($"Multiple certificates for extension '{extension}' defined for CollisionPriorityId '{signInfo.CollisionPriorityId}'. There should be one certificate per extension per collision priority id."); 430Log.LogError($"An invalid strong name was specified in {nameof(StrongNameSignInfo)}: '{strongName}'"); 436Log.LogError($"PublicKeyToken metadata of {nameof(StrongNameSignInfo)} is invalid: '{publicKeyToken}'"); 487Log.LogError($"{nameof(FileSignInfo)} should specify file name and extension, not a full path: '{fileName}'"); 493Log.LogError($"TargetFramework metadata of {nameof(FileSignInfo)} is invalid: '{targetFramework}'"); 499Log.LogError($"CertificateName metadata of {nameof(FileSignInfo)} is invalid: '{certificateName}'"); 505Log.LogError($"PublicKeyToken metadata for {nameof(FileSignInfo)} is invalid: '{publicKeyToken}'"); 512Log.LogError($"Duplicate entries in {nameof(FileSignInfo)} with the same key ('{fileName}', '{publicKeyToken}', '{targetFramework}'): '{existingCert}', '{certificateName}'.");
src\ZipData.cs (2)
227log.LogError($"Packaging of wix file '{FileSignInfo.FullPath}' failed"); 233log.LogError($"Wix tool execution passed, but output file '{outputFileName}' was not found.");
Microsoft.DotNet.SourceBuild.Tasks (2)
src\UsageReport\ValidateUsageAgainstBaseline.cs (1)
91Log.LogError(
src\UsageReport\WriteUsageReports.cs (1)
196Log.LogError($"No creation time property found in snapshot {snapshot.Path}");
Microsoft.DotNet.VersionTools.Tasks (4)
src\BaseDependenciesTask.cs (1)
296Log.LogError(
src\MsBuildTraceListener.cs (1)
48_log.LogError(fullMessage);
src\VerifyDependencies.cs (2)
23Log.LogError( 32Log.LogError($"Dependencies invalid: {line}");
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 (2)
GenerateFilteredReferenceAssembliesTask.cs (2)
77Log.LogError($"GenerateFilteredReferenceAssembliesTask failed with exception:{Environment.NewLine}{e}"); 171Log.LogError($"Error updating baseline '{outputFilePath}': {e.Message}");