408 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);
ExampleTask (1)
ExampleTask.cs (1)
29Log.LogError($"Failed to determine executing process: {ex.Message}");
HelixTasks (3)
TarGzFileCreateFromDirectory.cs (2)
67Log.LogError($"'{DestinationArchive}' already exists. Did you forget to set '{nameof(OverwriteDestination)}' to true?"); 83Log.LogError($"SourceDirectory '{SourceDirectory}' does not exist.");
TaskItemExtensions.cs (1)
22log.LogError($"Item '{item.ItemSpec}' missing required metadata '{key}'.");
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 (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 (3)
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)
2787Log.LogError($"Expected minimum message importance {enumName} did not match actual logging behavior:\n" +
Microsoft.Build.Engine.UnitTests (1)
TestAssets\ExampleNetTask\ExampleTask\ExampleTask.cs (1)
29Log.LogError($"Failed to determine executing process: {ex.Message}");
Microsoft.Build.Tasks.CodeAnalysis (1)
src\Compilers\Core\MSBuildTask\ManagedCompiler.cs (1)
816Log.LogError(message);
Microsoft.Build.Tasks.CodeAnalysis.Sdk (1)
src\Compilers\Core\MSBuildTask\ManagedCompiler.cs (1)
816Log.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)
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 (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)
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.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)
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)
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.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());
Microsoft.NET.Build.Containers (4)
Tasks\ComputeDotnetBaseImageAndTag.cs (4)
137Log.LogError(Resources.Strings.InvalidTargetRuntimeIdentifiers); 267Log.LogError(Resources.Strings.InvalidSdkVersion, SdkVersion); 307Log.LogError(Resources.Strings.InvalidSdkPrereleaseVersion, channel); 312Log.LogError(Resources.Strings.InvalidSdkPrereleaseVersion, channel);
Microsoft.NET.Build.Tasks (17)
RunReadyToRunCompiler.cs (17)
91Log.LogError(Strings.CrossgenToolMissingInPDBCompilationMode); 99Log.LogError(Strings.Crossgen2ToolMissingWhenUseCrossgen2IsSet); 104Log.LogError(Strings.Crossgen2ToolExecutableNotFound, Crossgen2Tool.ItemSpec); 110Log.LogError(Strings.DotNetHostExecutableNotFound, hostPath); 118Log.LogError(Strings.JitLibraryNotFound, jitPath); 125Log.LogError(Strings.Crossgen2MissingRequiredMetadata, MetadataKeys.JitPath); 133Log.LogError(Strings.Crossgen2MissingRequiredMetadata, MetadataKeys.TargetOS); 138Log.LogError(Strings.Crossgen2MissingRequiredMetadata, MetadataKeys.TargetArch); 147Log.LogError(Strings.CrossgenToolMissingWhenUseCrossgen2IsNotSet); 152Log.LogError(Strings.CrossgenToolExecutableNotFound, CrossgenTool.ItemSpec); 157Log.LogError(Strings.JitLibraryNotFound, MetadataKeys.JitPath); 170Log.LogError(Strings.DiaSymReaderLibraryNotFound, DiaSymReader); 177Log.LogError(Strings.MissingOutputPDBImagePath); 182Log.LogError(Strings.PDBGeneratorInputExecutableNotFound, _outputR2RImage); 195Log.LogError(Strings.InputAssemblyNotFound, _inputAssembly); 206Log.LogError(Strings.MissingOutputR2RImageFileName); 212Log.LogError(Strings.MissingOutputPDBImagePath);
Microsoft.NET.Sdk.BlazorWebAssembly.Tasks (2)
GenerateBlazorBootExtensionJson.cs (1)
26Log.LogError(ex.ToString());
UpgradeLegacyWasmStaticWebAssets.cs (1)
43Log.LogError($"Could not find a corresponding asset for '{legacyAsset.RelativePath}'");
Microsoft.NET.Sdk.Publish.Tasks (30)
Kudu\KuduZipDeploy.cs (2)
35_logger.LogError(string.Format(Resources.KUDUDEPLOY_AzurePublishErrorReason, Resources.KUDUDEPLOY_DeployOutputPathEmpty)); 67_logger.LogError(string.Format(Resources.KUDUDEPLOY_PublishZipFailedReason, ConnectionInfo.SiteName, response.ReasonPhrase));
MsDeploy\CommonUtility.cs (3)
428log.LogError(_strErrorMessage); 1672Log.LogError(string.Format(CultureInfo.CurrentCulture, Resources.VSMSDEPLOY_FailedWithException, strBuilder.ToString())); 1684Log.LogError(string.Format(CultureInfo.CurrentCulture, Resources.VSMSDEPLOY_FailedWithExceptionWithDetail, e.Message, strBuilder.ToString()));
Tasks\GenerateEFSQLScripts.cs (2)
123Log.LogError(e.ToString()); 140Log.LogError(Resources.EFSCRIPT_GenerationFailed);
Tasks\Kudu\KuduDeploy.cs (8)
78Log.LogError(Resources.KUDUDEPLOY_DeployOutputPathEmpty); 85Log.LogError(Resources.KUDUDEPLOY_ConnectionInfoMissing); 97Log.LogError(Resources.KUDUDEPLOY_PublishFailed); 121Log.LogError(string.Format(Resources.KUDUDEPLOY_AzurePublishErrorReason, Resources.KUDUDEPLOY_OperationTimeout)); 126Log.LogError(string.Format(Resources.KUDUDEPLOY_AzurePublishErrorReason, ae.Flatten().Message)); 145Log.LogError(string.Format(Resources.KUDUDEPLOY_AzurePublishErrorReason, Resources.KUDUDEPLOY_OperationTimeout)); 150Log.LogError(string.Format(Resources.KUDUDEPLOY_AzurePublishErrorReason, ae.Flatten().Message)); 177Log.LogError(string.Format(Resources.KUDUDEPLOY_AzurePublishErrorReason, e.Message));
Tasks\MsDeploy\ImportParameterFile.cs (1)
170Log.LogError(Resources.BUILDTASK_TransformXml_SourceLoadFailed, new object[] { filePath });
Tasks\MsDeploy\MSDeploy.cs (3)
1059Log.LogError(string.Format(CultureInfo.CurrentCulture, Resources.MSDEPLOY_InvalidSourceCount, Source.GetLength(0)), null); 1065Log.LogError(string.Format(CultureInfo.CurrentCulture, Resources.MSDEPLOY_InvalidDestinationCount, Destination.GetLength(0)), null); 1105Log.LogError(string.Format(CultureInfo.CurrentCulture, Resources.MSDEPLOY_InvalidVerbForTheInput, Verb, Source?[0].ItemSpec, (fNullDestination) ? null : Destination?[0].ItemSpec), null);
Tasks\MsDeploy\VsMsdeploy.cs (4)
503_host.Log.LogError(strMsg); 810Log.LogError("Source must be 1 item"); 820Log.LogError("Destination must be 1 item"); 883Log.LogError(string.Format(System.Globalization.CultureInfo.CurrentCulture, Resources.VSMSDEPLOY_FailedWithException, e.Message));
Tasks\OneDeploy\TaskLogger.cs (1)
45_taskLoggingHelper.LogError(message);
Tasks\ValidateParameter.cs (1)
21Log.LogError(string.Format(CultureInfo.CurrentCulture, Resources.ValidateParameter_ArgumentNullError, ParameterName));
Tasks\Xdt\TaskTransformationLogger.cs (1)
118loggingHelper.LogError(message, messageArgs);
Tasks\ZipDeploy\ZipDeploy.cs (4)
41Log.LogError(Resources.ZIPDEPLOY_FailedToRetrieveCred); 79Log.LogError(Resources.ZIPDEPLOY_InvalidSiteNamePublishUrl); 99Log.LogError(string.Format(Resources.ZIPDEPLOY_FailedDeploy, zipDeployPublishUrl, response?.StatusCode)); 124Log.LogError(string.Format(Resources.ZIPDEPLOY_FailedDeployWithLogs,
Microsoft.NET.Sdk.Razor.Tasks (11)
DotnetToolTask.cs (2)
255Log.LogError(trimmedMessage); 287Log.LogError($"{toolCommand} exited with code {ExitCode}.");
FindAssembliesWithReferencesTo.cs (1)
32Log.LogError($"Missing required metadata '{FusionNameKey}' for '{item.ItemSpec}.");
SdkRazorGenerate.cs (4)
60Log.LogError("The specified project root directory {0} doesn't exist.", ProjectRoot); 66Log.LogError("The project {0} must provide a value for {1}.", ProjectRoot, nameof(Configuration)); 76Log.LogError("The Razor source item '{0}' is missing a required metadata entry. Required metadata are: '{1}'", Sources[i], SourceRequiredMetadata); 208Log.LogError($"Missing required metadata '{metadataName}' for '{item.ItemSpec}.");
SdkRazorTagHelper.cs (4)
53Log.LogError("The specified project root directory {0} doesn't exist.", ProjectRoot); 59Log.LogError("The project {0} must provide a value for {1}.", ProjectRoot, nameof(Configuration)); 67Log.LogError("The assembly path {0} is invalid. Assembly paths must be rooted.", Assemblies[i]); 125Log.LogError($"Missing required metadata '{metadataName}' for '{item.ItemSpec}.");
Microsoft.NET.Sdk.StaticWebAssets.Tasks (36)
CollectStaticWebAssetsToCopy.cs (1)
87Log.LogError(ex.ToString());
Compression\ResolveCompressedAssets.cs (4)
171Log.LogError( 214Log.LogError( 238Log.LogError( 291Log.LogError(
ComputeReferenceStaticWebAssetItems.cs (1)
50Log.LogError("More than one compatible asset found for target path '{0}' -> {1}.",
ComputeStaticWebAssetsForCurrentProject.cs (2)
40Log.LogError("More than one compatible asset found for target path '{0}' -> {1}.", 63Log.LogError(ex.ToString());
ComputeStaticWebAssetsTargetPaths.cs (1)
51Log.LogError(ex.Message);
DefineStaticWebAssets.cs (4)
301Log.LogError(ex.ToString()); 392Log.LogError("No metadata '{0}' was present for item '{1}' and no default value was provided.", 479Log.LogError( 500Log.LogError(
GenerateStaticWebAssetEndpointsPropsFile.cs (1)
129Log.LogError($"The asset file '{endpoint.AssetFile}' specified in the endpoint '{endpoint.Route}' does not exist.");
GenerateStaticWebAssetsManifest.cs (1)
64Log.LogError(reason);
GenerateStaticWebAssetsPropsFile.cs (3)
197Log.LogError($"Static web asset '{candidate.ItemSpec}' has invalid source type '{candidateMetadata}'."); 210Log.LogError($"Static web assets have different '{metadata}' metadata values '{referenceMetadata}' and '{candidateMetadata}' for '{reference.ItemSpec}' and '{candidate.ItemSpec}'."); 224Log.LogError($"Missing required metadata '{metadataName}' for '{item.ItemSpec}'.");
Legacy\GenerateStaticWebAssetsPropsFile50.cs (3)
184Log.LogError($"Static web asset '{candidate.ItemSpec}' has invalid source type '{candidateMetadata}'."); 197Log.LogError($"Static web assets have different '{metadata}' metadata values '{referenceMetadata}' and '{candidateMetadata}' for '{reference.ItemSpec}' and '{candidate.ItemSpec}'."); 211Log.LogError($"Missing required metadata '{metadataName}' for '{item.ItemSpec}'.");
Legacy\GenerateV1StaticWebAssetsManifest.cs (1)
154Log.LogError($"Missing required metadata '{metadataName}' for '{item.ItemSpec}'.");
Legacy\ValidateStaticWebAssetsUniquePaths.cs (3)
43Log.LogError($"Conflicting assets with the same path '{webRootPath}' for content root paths '{contentRootDefinition.ItemSpec}' and '{existingWebRootPath.ItemSpec}'."); 61Log.LogError($"The static web asset '{existingAsset.ItemSpec}' has a conflicting web root path '{webRootFileWebRootPath}' with the project file '{webRootFile.ItemSpec}'."); 77Log.LogError($"Missing required metadata '{metadataName}' for '{item.ItemSpec}'.");
MergeConfigurationProperties.cs (1)
36Log.LogError(
ReadStaticWebAssetsManifestFile.cs (1)
31Log.LogError($"Manifest file at '{ManifestPath}' not found.");
ResolveFingerprintedStaticWebAssetEndpointsForAssets.cs (2)
40Log.LogError($"No endpoint found for asset '{asset.Identity}'"); 60Log.LogError($"No endpoint found for asset '{asset.Identity}' with path '{assetPath}' whose route matches its path.");
ResolveStaticWebAssetEndpointRoutes.cs (1)
27Log.LogError($"The asset file '{endpoint.AssetFile}' for endpoint '{endpoint.Route}' was not found.");
ScopedCss\RewriteCss.cs (1)
63Log.LogError(error.Message, error.MessageArgs);
ServiceWorker\UpdateServiceWorkerFileWithVersion.cs (1)
25Log.LogError("ServiceWorkerSource does not exist: {0}", ServiceWorkerSource);
StaticWebAssetsReadPackManifest.cs (1)
25Log.LogError($"Manifest file at '{ManifestPath}' not found.");
UpdateExternallyDefinedStaticWebAssets.cs (1)
85Log.LogError($"The regular expression {regex} does not contain a 'fingerprint' group. Provide an expression in the form of (?<fingerprint>...).");
UpdatePackageStaticWebAssets.cs (1)
44Log.LogError(ex.ToString());
Utils\AssetToCompress.cs (1)
35log.LogError("The asset '{0}' can not be found at any of the searched locations '{1}' and '{2}'.",
PortableTask (2)
ShowItems.cs (2)
23Log.LogError("No AssemblyFileVersionAttribute found on core assembly"); 32Log.LogError("Items was null");
sdk-tasks (13)
Crossgen.cs (2)
42Log.LogError($"SourceAssembly '{SourceAssembly}' does not exist."); 104Log.LogError(singleLine);
DotNetTool.cs (1)
42Log.LogError($"Could not find the Path to {ToolName}");
ExtractArchiveToDirectory.cs (1)
54Log.LogError($"SourceArchive '{SourceArchive} does not exist.");
OverrideAndCreateBundledNETCoreAppPackageVersion.cs (2)
64Log.LogError($"No matching {elementName} in stage 0 for: {string.Join(", ", matchAttrs.Select(a => $"{a}={item2.Attribute(a)?.Value}"))}"); 69Log.LogError($"Multiple matches for {elementName} in stage 0 for: {string.Join(", ", matchAttrs.Select(a => $"{a}={item2.Attribute(a)?.Value}"))}");
ReplaceFilesWithSymbolicLinks.cs (4)
47Log.LogError($"{nameof(ReplaceFilesWithSymbolicLinks)} is not supported on Windows."); 53Log.LogError($"'{Directory}' does not exist."); 59Log.LogError($"'{LinkToFilesFrom}' does not exist."); 145Log.LogError($"Unable to link '{path}' to '{pathToTarget}.': {ex}");
TarGzFileCreateFromDirectory.cs (2)
65Log.LogError($"'{DestinationArchive}' already exists. Did you forget to set '{nameof(OverwriteDestination)}' to true?"); 79Log.LogError($"SourceDirectory '{SourceDirectory} does not exist.");
ZipFileCreateFromDirectory.cs (1)
107Log.LogError("An exception has occurred while trying to compress '{0}' into '{1}'.", SourceDirectory, DestinationArchive);
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}");