361 references to LogError
Crossgen2Tasks (17)
RunReadyToRunCompiler.cs (17)
92Log.LogError(Strings.CrossgenToolMissingInPDBCompilationMode); 100Log.LogError(Strings.Crossgen2ToolMissingWhenUseCrossgen2IsSet); 105Log.LogError(Strings.Crossgen2ToolExecutableNotFound, Crossgen2Tool.ItemSpec); 111Log.LogError(Strings.DotNetHostExecutableNotFound, hostPath); 119Log.LogError(Strings.JitLibraryNotFound, jitPath); 126Log.LogError(Strings.Crossgen2MissingRequiredMetadata, MetadataKeys.JitPath); 134Log.LogError(Strings.Crossgen2MissingRequiredMetadata, MetadataKeys.TargetOS); 139Log.LogError(Strings.Crossgen2MissingRequiredMetadata, MetadataKeys.TargetArch); 148Log.LogError(Strings.CrossgenToolMissingWhenUseCrossgen2IsNotSet); 153Log.LogError(Strings.CrossgenToolExecutableNotFound, CrossgenTool.ItemSpec); 158Log.LogError(Strings.JitLibraryNotFound, MetadataKeys.JitPath); 171Log.LogError(Strings.DiaSymReaderLibraryNotFound, DiaSymReader); 178Log.LogError(Strings.MissingOutputPDBImagePath); 183Log.LogError(Strings.PDBGeneratorInputExecutableNotFound, _outputR2RImage); 196Log.LogError(Strings.InputAssemblyNotFound, _inputAssembly); 207Log.LogError(Strings.MissingOutputR2RImageFileName); 213Log.LogError(Strings.MissingOutputPDBImagePath);
ExampleTask (3)
ExampleTask.cs (1)
36Log.LogError($"Failed to determine executing process: {ex.Message}");
IsRunningMultipleNodesTask.cs (1)
28Log.LogError("BuildEngine does not implement IBuildEngine2");
RequestCoresTask.cs (1)
48Log.LogError("BuildEngine does not implement IBuildEngine9");
ExampleTaskX64 (1)
ExampleTaskX64.cs (1)
27Log.LogError($"Failed to determine executing process: {ex.Message}");
ExampleTaskX86 (1)
ExampleTaskX86.cs (1)
27Log.LogError($"Failed to determine executing process: {ex.Message}");
ILLink.Tasks (11)
CreateRuntimeRootDescriptorFile.cs (11)
105Log.LogError($"File '{namespaceFilePath}' doesn't exist."); 112Log.LogError($"File '{mscorlibFilePath}' doesn't exist."); 119Log.LogError($"File '{cortypeFilePath}' doesn't exist."); 126Log.LogError($"File '{rexcepFilePath}' doesn't exist."); 135Log.LogError($"File '{iLLinkTrimXmlFilePath}' doesn't exist."); 202Log.LogError($"Could not figure out feature switch status in '{typeFile}' for line {def}."); 210Log.LogError($"BEGIN_ILLINK_FEATURE_SWITCH is not formatted correctly '{typeFile}' for line {def}."); 224Log.LogError($"Could not figure out feature switch status in '{typeFile}' for line {def}."); 541Log.LogError($"Unknown namespace '{classNamespace}'."); 621log.LogError($"Could not figure out ifdefs in '{filePath}' around line {linenum}."); 638log.LogError($"Could not figure out ifdefs in '{filePath}' around line {linenum}.");
installer.tasks (7)
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.");
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 (8)
MSBuildMultithreaded_Tests.cs (5)
49Log.LogError("TaskEnvironment was not provided to multithreadable task"); 55Log.LogError("TaskEnvironment.ProjectDirectory is null or empty"); 78Log.LogError($"{mode} Mode: TaskEnvironment failed to read back value. Set: {envVarValue}, Read: {taskEnvValue}"); 87Log.LogError($"{mode} Mode: Expected TaskEnvironment to be isolated, but it is not"); 97Log.LogError($"{mode} Mode: Expected TaskEnvironment and Environment.GetEnvironmentVariable to be the same, but they differ");
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}");
XMake_Tests.cs (1)
2979Log.LogError($"Expected minimum message importance {enumName} did not match actual logging behavior:\n" +
Microsoft.Build.Engine.UnitTests (6)
BackEnd\AssemblyLoadContextTestTasks.cs (1)
52Log.LogError(
BackEnd\IsRunningMultipleNodesTask.cs (1)
28Log.LogError("BuildEngine does not implement IBuildEngine2");
BackEnd\RequestCoresTask.cs (1)
48Log.LogError("BuildEngine does not implement IBuildEngine9");
TestAssets\ExampleFrameworkTask\ExampleTaskX64\ExampleTaskX64.cs (1)
27Log.LogError($"Failed to determine executing process: {ex.Message}");
TestAssets\ExampleFrameworkTask\ExampleTaskX86\ExampleTaskX86.cs (1)
27Log.LogError($"Failed to determine executing process: {ex.Message}");
TestAssets\ExampleNetTask\ExampleTask\ExampleTask.cs (1)
36Log.LogError($"Failed to determine executing process: {ex.Message}");
Microsoft.Build.Tasks.CodeAnalysis (1)
src\Compilers\Core\MSBuildTask\ManagedCompiler.cs (1)
817Log.LogError(message);
Microsoft.Build.Tasks.CodeAnalysis.Sdk (1)
src\Compilers\Core\MSBuildTask\ManagedCompiler.cs (1)
817Log.LogError(message);
Microsoft.Build.Tasks.Core (7)
AssemblyDependency\AssemblyFoldersFromConfig\AssemblyFoldersFromConfigResolver.cs (1)
144_taskLogger.LogError(ResourceUtilities.GetResourceString("ResolveAssemblyReference.AssemblyFoldersConfigFileMalformed"), _assemblyFolderConfigFile, e.Message);
Copy.cs (3)
296Log.LogError(CreatesDirectory, originalDestinationFolder); 315Log.LogError(FileComment, sourceFileState.Path, destinationFileState.Path); 962Log.LogError(FileComment, sourceFileState.Path.OriginalValue, destinationFileState.Path.OriginalValue);
Exec.cs (1)
378Log.LogError(singleLine);
GenerateResource.cs (2)
1134Log.LogError("ResGen.exe not supported on .NET Core MSBuild"); 3321_logger.LogError($"{format} not supported on .NET Core MSBuild");
Microsoft.Build.Utilities.Core (1)
ToolTask.cs (1)
1141Log.LogError(errorOrOutMessage);
Microsoft.Build.Utilities.UnitTests (2)
TaskLoggingHelper_Tests.cs (1)
135t.Log.LogError("{4");
ToolTask_Tests.cs (1)
100Log.LogError(singleLine);
Microsoft.DotNet.Arcade.Sdk (41)
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\ValidateLicense.cs (1)
43Log.LogError($"License file content '{LicensePath}' doesn't match the expected license '{ExpectedLicensePath}'.");
Microsoft.DotNet.Baselines.Tasks (2)
PRCreator.cs (2)
77_logger.LogError($"Failed to fetch the original tree for branch '{targetBranch}' in repository '{_gitHubOrg}/{_gitHubRepoName}'."); 87_logger.LogError($"No files found in the original tree for branch '{targetBranch}' in repository '{_gitHubOrg}/{_gitHubRepoName}'.");
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 (91)
src\AzureStorageAssetPublisher.cs (3)
40_log.LogError($"Asset '{file}' already exists with different contents at '{blobClient.Uri}'"); 46_log.LogError($"Asset '{file}' already exists at '{blobClient.Uri}'"); 62_log.LogError($"Unexpected exception publishing file {file} to {blobClient.Uri}: {e.Message}");
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)
181Log?.LogError($"No key found for {feed}, unable to publish to it.");
src\model\SetupTargetFeedConfigV4.cs (1)
154Log?.LogError($"No key found for {feed}, unable to publish to it.");
src\MSBuildLogger.cs (1)
29_log.LogError(message);
src\PublishArtifactsInManifest.cs (3)
349Log.LogError($"Problem reading asset manifest path from '{manifestFullPath}'"); 358Log.LogError("This task is not able to handle legacy manifests."); 371Log.LogError($"The manifest version '{buildModel.Identity.PublishingVersion}' is not recognized by the publishing task.");
src\PublishArtifactsInManifestBase.cs (39)
279Log.LogError($"Build validation failed for production channel {targetChannel.Id}"); 283Log.LogError($"Unknown validation result '{validationResult}' for production channel {targetChannel.Id}"); 347Log.LogError($"Asset '{asset.Name}' is specified twice in the build information. Assets should not be duplicated."); 376Log.LogError($"Asset with Id {assetId} {versionMsg} isn't registered on the BAR Build with ID {BARBuildId}"); 411Log.LogError($"Use of non-internal feed '{feedConfig.TargetURL}' is invalid for an internal build. This can be overridden with '{nameof(SkipSafetyChecks)}= true'"); 452Log.LogError($"Package '{package.Id}' has invalid version '{package.Version}'"); 461Log.LogError($"Package '{package.Id}' has stable version '{package.Version}' but is targeted at a non-isolated feed '{feedConfig.TargetURL}'"); 508Log.LogError($"Symbol package {symbolAsset} is missing required PipelineArtifactPath and PipelineArtifactName attributes for V4+ publishing"); 533Log.LogError("Unable to publish {0} to symbol server with error {1}.", symbolPackageName, response); 561Log.LogError("Unable to upload packages to symbol server. Symbol client returned {0}.", result); 652Log.LogError("Unable to create request {0} in temporary symbol server: {1}.", requestName, result); 662Log.LogError("Unable to upload files to symbol server. Symbol client returned {0}.", result); 688Log.LogError("Unable to create create request in necessary symbol servers with all assets. Deleting all requests."); 714Log.LogError("Unable to register and publish request to the requested symbol servers with the appropriate visibility."); 794Log.LogError($"PDB artifact {pdb} is missing required PipelineArtifactPath and PipelineArtifactName attributes for V4+ publishing"); 903Log.LogError( 911Log.LogError($"No target feed configuration found for artifact category: '{category}'."); 1042Log.LogError($"Artifact '{artifactName}' not found in build {BuildId}"); 1052Log.LogError($"Artifact '{artifactName}' does not have a valid container id"); 1124Log.LogError($"No target feed configuration found for artifact category: '{category}'."); 1177Log.LogError($"Invalid target feed config category '{category}'."); 1205Log.LogError($"Invalid target feed config category '{category}'."); 1233Log.LogError($"Could not locate '{package.Id}.{package.Version}' at '{localPackagePath}'"); 1285Log.LogError($"Package {package.Id} is missing required PipelineArtifactPath or PipelineArtifactName for V4+ publishing"); 1306Log.LogError( 1378Log.LogError( 1542Log.LogError($"Package '{localPackageLocation}' already exists on '{feedConfig.TargetURL}' with different content."); 1565Log.LogError($"Failed to publish package '{id}@{version}' to '{feedConfig.TargetURL}' after {MaxRetryCount} attempts. (Final status: {packageStatus})"); 1676Log.LogError($"Blob {asset} is missing required PipelineArtifactPath or PipelineArtifactName for V4+ publishing"); 1699Log.LogError($"Could not locate '{asset} at '{localBlobPath}'"); 1753Log.LogError($"Could not locate '{asset} at '{localBlobPath}'"); 1797Log.LogError( 1895Log.LogError($"The property {prop.Name} is required but doesn't have a value set."); 1909Log.LogError($"The property {nameof(BlobAssetsBasePath)} is required but doesn't have a value set."); 1914Log.LogError($"The property {nameof(PackageAssetsBasePath)} is required but doesn't have a value set."); 1919Log.LogError($"The property {nameof(BARBuildId)} is required but doesn't have a value set."); 1924Log.LogError($"The property {nameof(MaestroApiEndpoint)} is required but doesn't have a value set."); 1929Log.LogError($"The property {nameof(AzdoApiToken)} is required when using streaming publishing, but doesn't have a value set."); 1934Log.LogError($"The property {nameof(ArtifactsBasePath)} is required when using streaming publishing, but doesn't have a value set.");
src\PublishArtifactsInManifestV3.cs (7)
57Log.LogError("Missing required properties. Aborting execution."); 69Log.LogError( 79Log.LogError( 118Log.LogError($"Channel with ID '{targetChannelId}' is not configured to be published to."); 124Log.LogError($"Channel with ID '{targetChannelId}' does not exist in BAR."); 131Log.LogError($"Channel with ID '{targetChannelId}' is not valid for this build."); 170Log.LogError($"No target feeds were found to publish the assets to.");
src\PublishArtifactsInManifestV4.cs (7)
53Log.LogError("Missing required properties. Aborting execution."); 65Log.LogError( 75Log.LogError( 114Log.LogError($"Channel with ID '{targetChannelId}' is not configured to be published to."); 120Log.LogError($"Channel with ID '{targetChannelId}' does not exist in BAR."); 127Log.LogError($"Channel with ID '{targetChannelId}' is not valid for this build."); 165Log.LogError($"No target feeds were found to publish the assets to.");
src\PublishBuildToMaestro.cs (2)
111Log.LogError($"Required folder '{ManifestsPath}' does not exist."); 130Log.LogError(
src\PublishSignedAssets.cs (1)
101Log.LogError($"Could not locate '{package.Id}.{package.Version}' at '{localPackagePath}'");
src\PushToBuildStorage.cs (12)
193Log.LogError($"Invalid publishing version '{PublishingVersion}'"); 202Log.LogError($"ItemsToPush is not specified."); 214Log.LogError("AssetsLocalStorageDir, ShippingPackagesLocalStorageDir, NonShippingPackagesLocalStorageDir, PdbArtifactsLocalStorageDir and AssetManifestsLocalStorageDir need " + 225Log.LogError($"Publishing version '{_publishingVersion}' is not supported."); 231Log.LogError($"FutureArtifactName and FutureArtifactPublishBasePath are not supported in publishing version '{_publishingVersion}'."); 239Log.LogError($"FutureArtifactName and FutureArtifactPublishBasePath must be both be specified if either is specified."); 291Log.LogError($"Failed to construct build model from input artifacts."); 299Log.LogError($"Could not find file {package.OriginalFile}."); 310Log.LogError($"Could not find file {blobArtifact.OriginalFile}."); 323Log.LogError($"PdbArtifactsLocalStorageDir must be specified if PDBs are present."); 331Log.LogError($"Could not find file {pdbArtifact.OriginalFile}."); 391Log.LogError($"Could not determine relative path from '{FutureArtifactPublishBasePath}' to '{artifactDestinationPath}'.");
src\TaskTracer.cs (1)
57_log.LogError(format, arguments);
Microsoft.DotNet.Build.Tasks.Installers (9)
src\Common\Internal\BuildTask.cs (1)
50_logger.LogError(message, messageArgs);
src\CreateWixBuildWixpack.cs (8)
223Log.LogError($"Error ingesting variables from include file {file}: {ex.Message}"); 513Log.LogError($"Source file not found: {sourceFile.ItemSpec}"); 572Log.LogError($"Multiple unprocessed tokens found in source: {source}."); 583Log.LogError($"Unprocessed token: {pattern} in {xmlPath}"); 589Log.LogError($"Unsupported source format: {source}"); 626Log.LogError($"Error processing {copiedXmlPath}: {ex.Message}"); 677Log.LogError($"Included file not found: {includeFilePath}"); 695Log.LogError($"Unmatched $() in path: {path}");
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.CMake.Sdk (1)
src\Common\Internal\BuildTask.cs (1)
50_logger.LogError(message, messageArgs);
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 (70)
src\BatchSignUtil.cs (32)
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}"); 293_log.LogError($"No zip data found for file '{file.FullPath}' to repack."); 299_log.LogError($"Don't know how to repack file '{file.FullPath}'"); 416log.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."); 422log.LogError($"WixToolsPath '{wixToolsPath}' not found."); 466_log.LogError($"Updating '{dst}' with signed content failed: '{e.Message}'"); 491log.LogError($"Assembly {fileName} cannot be signed with a VSIX certificate"); 498log.LogError($"VSIX {fileName} must be signed with a VSIX certificate"); 503log.LogError($"VSIX {fileName} cannot be strong name signed."); 510log.LogError($"Deb package {fileName} should have a certificate name."); 514log.LogError($"Deb package {fileName} must be signed with a LinuxSign certificate."); 521log.LogError($"Rpm package {fileName} should have a certificate name."); 525log.LogError($"Rpm package {fileName} must be signed with a LinuxSign certificate."); 532log.LogError($"Nupkg {fileName} should have a certificate name."); 537log.LogError($"Nupkg {fileName} cannot be strong name signed."); 544log.LogError($"Pkg {fileName} should have a certificate name."); 549log.LogError($"Pkg {fileName} cannot be strong name signed."); 556log.LogError($"AppBundle {fileName} should have a certificate name."); 561log.LogError($"AppBundle {fileName} cannot be strong name signed."); 569log.LogError($"'{fileName}' may only be signed with a detached signature. '{fileName.SignInfo.Certificate}' does not produce a detached signature"); 574log.LogError($"Zip {fileName} cannot be strong name signed."); 582log.LogError($"'{fileName}' may only be signed with a detached signature. '{fileName.SignInfo.Certificate}' does not produce a detached signature"); 587log.LogError($"TarGZip {fileName} cannot be strong name signed."); 594log.LogError($"Wix file {fileName} should have a certificate name."); 599log.LogError($"Wix file {fileName} cannot be strong name signed."); 621_log.LogError($"Detached signature file {sigFilePath} does not exist for {file.FullPath}"); 628_log.LogError($"Detached signature file {sigFilePath} is empty."); 688_log.LogError($"{fileType} {file.FullPath} is not signed properly."); 715_log.LogError($"Assembly {file.FullPath} is not strong-name signed correctly.");
src\Configuration.cs (5)
189_log.LogError("Could not determine certificate name for signable file(s):"); 196_log.LogError($"\tFile: {erroredFile.FileName}"); 201_log.LogError($"\t\t{containerName}"); 255_log.LogError($"Failed to build wix data for {fileSignInfo.FullPath}"); 266_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 (3)
90_log.LogError($"Failed to zip file {file.FullPath} to {zipFilePath}"); 123_log.LogError($"Failed to unzip file {item.Value} to {item.Key}"); 221_log.LogError($"Notarization failed after {maxRetries} attempts");
src\SignToolTask.cs (21)
220Log.LogError($"DotNet was not found at this path: '{DotNetPath}'."); 231Log.LogError($"PkgToolPath ('{PkgToolPath}') does not exist & is required for unpacking, repacking, and notarizing .pkg files and .app bundles on MacOS."); 236Log.LogError($"Wix3ToolsPath ('{Wix3ToolsPath}') does not exist."); 240Log.LogError($"WixToolsPath ('{WixToolsPath}') does not exist."); 281Log.LogError($"Existing signing container cache no longer supported."); 344Log.LogError($"Both MacCertificate and MacNotarizationAppName must be specified"); 349Log.LogError($"DualSigningAllowed must be 'true' or 'false"); 355Log.LogError($"DetachedSignature must be 'true' or 'false"); 396Log.LogError($"Paths specified in {nameof(ItemsToSign)} must be absolute: '{itemToSign}'."); 412Log.LogError($"All {nameof(ItemsToSign)} must be within the cone of a single directory."); 456Log.LogError($"Value of {nameof(FileExtensionSignInfo)} is invalid: '{extension}'"); 463Log.LogError($"CertificateName metadata of {nameof(FileExtensionSignInfo)} is required when DoNotUnpack is not set: '{extension}'"); 475Log.LogError($"Multiple certificates for extension '{extension}' defined for CollisionPriorityId '{signInfo.CollisionPriorityId}'. There should be one certificate per extension per collision priority id."); 504Log.LogError($"An invalid strong name was specified in {nameof(StrongNameSignInfo)}: '{strongName}'"); 510Log.LogError($"PublicKeyToken metadata of {nameof(StrongNameSignInfo)} is invalid: '{publicKeyToken}'"); 564Log.LogError($"{nameof(FileSignInfo)} should specify file name and extension, not a full path: '{fileName}'"); 570Log.LogError($"TargetFramework metadata of {nameof(FileSignInfo)} is invalid: '{targetFramework}'"); 577Log.LogError($"CertificateName metadata of {nameof(FileSignInfo)} is required when DoNotUnpack is not set: '{fileName}'"); 583Log.LogError($"PublicKeyToken metadata for {nameof(FileSignInfo)} is invalid: '{publicKeyToken}'"); 590Log.LogError($"ExecutableType metadata for {nameof(FileSignInfo)} is invalid: '{executableTypeMetadata}'. Valid values are 'PE', 'MachO', and 'ELF'."); 597Log.LogError($"Duplicate entries in {nameof(FileSignInfo)} with the same key ('{fileName}', '{publicKeyToken}', '{targetFramework}', '{executableTypeMetadata}'): '{existingEntry.CertificateName}', '{certificateName}'.");
src\ZipData.cs (7)
288log.LogError($"Packaging of wix file '{FileSignInfo.FullPath}' failed"); 294log.LogError($"Wix tool execution passed, but output file '{outputFileName}' was not found."); 380log.LogError("Pkg/AppBundle repackaging is not supported on Windows."); 613log.LogError($"Failed to extract tar archive: {FileSignInfo.FullPath}"); 641log.LogError($"Failed to create tar archive: {FileSignInfo.FullPath}"); 680log.LogError(e.Message); 693log.LogError($"Failed to create new DEB package: {FileSignInfo.FileName}");
Microsoft.DotNet.SourceBuild.Tasks (1)
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");
RepoTasks (2)
CreateFrameworkListFile.cs (2)
78Log.LogError($"Unexpected analyzer path format {path}. Expected 'analyzers/dotnet(/roslyn<version>)(/language)/analyzer.dll"); 107Log.LogError($"No public key token found for assembly {f.Item.ItemSpec}");
SemanticSearch.BuildTask (4)
GenerateFilteredReferenceAssembliesTask.cs (4)
97Log.LogError($"GenerateFilteredReferenceAssembliesTask failed with exception:{Environment.NewLine}{e}"); 189Log.LogError($"Unable to read '{outputFilePath}': {e.Message}"); 196Log.LogError( 211Log.LogError($"Error updating baseline '{outputFilePath}': {e.Message}");