287 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); 863Log.LogError(FileComment, sourceFileState.Name, destinationFileState.Name);
Exec.cs (1)
370Log.LogError(singleLine);
GenerateResource.cs (1)
3328_logger.LogError(format.ToString() + " not supported on .NET Core MSBuild");
Microsoft.Build.Utilities.Core (1)
ToolTask.cs (1)
1124Log.LogError(errorOrOutMessage);
Microsoft.Build.Utilities.UnitTests (2)
TaskLoggingHelper_Tests.cs (1)
135t.Log.LogError("{4");
ToolTask_Tests.cs (1)
98Log.LogError(singleLine);
Microsoft.DotNet.Arcade.Sdk (44)
src\CalculateAssemblyAndFileVersions.cs (5)
50Log.LogError($"VersionPrefix is not a valid 3-part version: {VersionPrefix}"); 56Log.LogError("Invalid value of VersionBaseShortDate"); 73Log.LogError($"The minor version specified in {nameof(VersionPrefix)} must be at most {MaxMinor}: {VersionPrefix}"); 79Log.LogError($"The patch version specified in {nameof(VersionPrefix)} must be at most {MaxBuild}: {VersionPrefix}"); 98Log.LogError($"Invalid format of {nameof(BuildNumber)}: {BuildNumber}");
src\CheckRequiredDotNetVersion.cs (6)
40Log.LogError($"Invalid version: {SdkVersion}"); 52Log.LogError($"Error accessing file '{globalJsonPath}': {e.Message}"); 77Log.LogError($"Error reading file '{globalJsonPath}': {e.Message}"); 85Log.LogError($"Unable to determine dotnet version from file '{globalJsonPath}'."); 92Log.LogError($"DotNet version specified in '{globalJsonPath}' is invalid: {minSdkVersionStr}."); 98Log.LogError($"The .NET Core SDK version {currentSdkVersion} is below the minimum required version {minSdkVersion}. You can install newer .NET Core SDK from https://www.microsoft.com/net/download.");
src\CompareVersions.cs (2)
31Log.LogError($"Invalid version: '{Left}'"); 37Log.LogError($"Invalid version: '{Right}'");
src\DownloadFile.cs (5)
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)
52Log.LogError($"Unable to find dotnet install script '{DotNetInstallScript} exiting"); 86Log.LogError($"Unable to find translation file {VersionsPropsPath}"); 118Log.LogError($"Unable to find '{item.Key}' in properties defined in '{VersionsPropsPath}'"); 122Log.LogError($"Unable to parse '{item.Key}' from properties defined in '{VersionsPropsPath}'"); 175Log.LogError("dotnet-install failed");
src\LocateDotNet.cs (2)
64Log.LogError($"Unable to determine dotnet version from file '{globalJsonPath}'."); 75Log.LogError($"Unable to find dotnet with SDK version '{sdkVersion}'");
src\SetCorFlags.cs (1)
68Log.LogError($"Invalid flags: '{value}'");
src\SingleError.cs (1)
28Log.LogError(Text);
src\SourceBuild\ReadSourceBuildIntermediateNupkgDependencies.cs (3)
69Log.LogError($"Dependency SourceBuild RepoName null or empty in '{VersionDetailsXmlFile}' element {d}"); 77Log.LogError($"Dependency Name does not contain '{SourceBuildIntermediateNupkgPrefix}' in '{VersionDetailsXmlFile}' element {d}. Only place <SourceBuild> elements on source-build intermediate nupkgs."); 91Log.LogError($"Dependency Version null or empty in '{VersionDetailsXmlFile}' element {d}");
src\ValidateLicense.cs (1)
43Log.LogError($"License file content '{LicensePath}' doesn't match the expected license '{ExpectedLicensePath}'.");
Microsoft.DotNet.Build.Tasks.Feed (72)
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)
214_log.LogError("Missing 'location' property from ManifestBuildData"); 246_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)
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\GenerateBuildManifest.cs (1)
128Log.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)
322Log.LogError($"Problem reading asset manifest path from '{manifestFullPath}'"); 331Log.LogError("This task is not able to handle legacy manifests."); 340Log.LogError($"The manifest version '{buildModel.Identity.PublishingVersion}' is not recognized by the publishing task.");
src\PublishArtifactsInManifestBase.cs (34)
304Log.LogError($"Asset '{asset.Name}' is specified twice in the build information. Assets should not be duplicated."); 333Log.LogError($"Asset with Id {assetId} {versionMsg} isn't registered on the BAR Build with ID {BARBuildId}"); 368Log.LogError($"Use of non-internal feed '{feedConfig.TargetURL}' is invalid for an internal build. This can be overridden with '{nameof(SkipSafetyChecks)}= true'"); 414Log.LogError($"Package '{package.Id}' has invalid version '{package.Version}'"); 422Log.LogError($"Package '{package.Id}' has stable version '{package.Version}' but is targeted at a non-isolated feed '{feedConfig.TargetURL}'"); 481Log.LogError("Unable to publish {0} to symbol server with error {1}.", symbolPackageName, response); 509Log.LogError("Unable to upload packages to symbol server. Symbol client returned {0}.", result); 603Log.LogError("Unable to create request {0} in temporary symbol server: {1}.", requestName, result); 613Log.LogError("Unable to upload files to symbol server. Symbol client returned {0}.", result); 639Log.LogError("Unable to create create request in necessary symbol servers with all assets. Deleting all requests."); 665Log.LogError("Unable to register and publish request to the requested symbol servers with the appropriate visibility."); 815Log.LogError( 823Log.LogError($"No target feed configuration found for artifact category: '{category}'."); 934Log.LogError("Container Id does not exists"); 1041Log.LogError($"No target feed configuration found for artifact category: '{category}'."); 1094Log.LogError($"Invalid target feed config category '{category}'."); 1122Log.LogError($"Invalid target feed config category '{category}'."); 1150Log.LogError($"Could not locate '{package.Id}.{package.Version}' at '{localPackagePath}'"); 1209Log.LogError( 1292Log.LogError( 1414Log.LogError($"Package '{localPackageLocation}' already exists on '{feedConfig.TargetURL}' with different content."); 1432Log.LogError($"Failed to publish package '{id}@{version}' to '{feedConfig.TargetURL}' after {MaxRetryCount} attempts. (Final status: {packageStatus})"); 1441Log.LogError($"Unexpected exception pushing package '{id}@{version}': {e.Message}"); 1446Log.LogError($"Output from nuget.exe: {Environment.NewLine}StdOut:{Environment.NewLine}{nugetResult.StandardOut}{Environment.NewLine}StdErr:{Environment.NewLine}{nugetResult.StandardError}"); 1552Log.LogError($"Could not locate '{asset} at '{localBlobPath}'"); 1598Log.LogError($"Could not locate '{asset} at '{localBlobPath}'"); 1642Log.LogError( 1740Log.LogError($"The property {prop.Name} is required but doesn't have a value set."); 1754Log.LogError($"The property {nameof(BlobAssetsBasePath)} is required but doesn't have a value set."); 1759Log.LogError($"The property {nameof(PackageAssetsBasePath)} is required but doesn't have a value set."); 1764Log.LogError($"The property {nameof(BARBuildId)} is required but doesn't have a value set."); 1769Log.LogError($"The property {nameof(MaestroApiEndpoint)} is required but doesn't have a value set."); 1774Log.LogError($"The property {nameof(AzdoApiToken)} is required when using streaming publishing, but doesn't have a value set."); 1779Log.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( 119Log.LogError($"Channel with ID '{targetChannelId}' is not configured to be published to."); 125Log.LogError($"Channel with ID '{targetChannelId}' does not exist in BAR."); 166Log.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\PushToBuildStorage.cs (5)
135Log.LogError($"No items to push. Please check ItemGroup ItemsToPush."); 154Log.LogError($"Could not find file {blobItem.ItemSpec}."); 196Log.LogError($"Could not find file {packagePath.ItemSpec}."); 207Log.LogError($"Could not find file {blobItem.ItemSpec}."); 227Log.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");
src\TaskTracer.cs (1)
58_log.LogError(format, arguments);
Microsoft.DotNet.Build.Tasks.Installers (1)
src\Common\Internal\BuildTask.cs (1)
50_logger.LogError(message, messageArgs);
Microsoft.DotNet.Build.Tasks.Packaging (2)
GenerateNuSpec.cs (1)
102Log.LogError(ex.ToString());
src\Common\Internal\BuildTask.cs (1)
50_logger.LogError(message, messageArgs);
Microsoft.DotNet.Build.Tasks.TargetFramework (1)
src\Common\Internal\BuildTask.cs (1)
50_logger.LogError(message, messageArgs);
Microsoft.DotNet.Build.Tasks.Templating (1)
GenerateFileFromTemplate.cs (1)
63Log.LogError($"File {TemplateFile} does not exist");
Microsoft.DotNet.Build.Tasks.VisualStudio (8)
OptProf\FindLatestDrop.cs (1)
45Log.LogError($"Error parsing file '{DropListPath}': {e.Message}");
OptProf\GenerateTrainingInputFiles.cs (4)
54Log.LogError($"Unable to open the config file '{ConfigurationFile}': {e.Message}"); 60Log.LogError($"Invalid configuration file format: missing 'products' element in '{ConfigurationFile}'."); 65Log.LogError($"Invalid configuration file format: missing 'assemblies' element in '{ConfigurationFile}'."); 70Log.LogError($"Directory specified in InsertionDirectory does not exist: '{InsertionDirectory}'.");
OptProf\GenerateTrainingPropsFile.cs (1)
46Log.LogError($"Invalid value of vsDropName argument: must start with '{ProductDropNamePrefix}'.");
OptProf\GetRunSettingsSessionConfiguration.cs (1)
70Log.LogError(e.Message);
Vsix\FinalizeInsertionVsixFile.cs (1)
82Log.LogError($"PackageManifest.Installation element not found in manifest of '{VsixFilePath}'");
Microsoft.DotNet.Build.Tasks.Workloads (6)
CreateVisualStudioWorkload.wix.cs (3)
182Log.LogError(Strings.ManifestPackageGroupExists, manifestPackage.Id, packageGroup.Name); 321Log.LogError(Strings.WorkloadComponentExists, workload.Id, component.Name); 326Log.LogError(Strings.WorkloadComponentExists, workload.Id, previewComponent.Name);
CreateVisualStudioWorkloadSet.wix.cs (1)
62Log.LogError(Strings.ManifestPackageGroupExists, workloadSetPackage.Id, packageGroup.Name);
src\Common\Internal\BuildTask.cs (1)
50_logger.LogError(message, messageArgs);
VisualStudioWorkloadTaskBase.wix.cs (1)
109Log.LogError(e.ToString());
Microsoft.DotNet.Deployment.Tasks.Links (7)
Microsoft.DotNet.GenAPI (1)
src\Common\Internal\BuildTask.cs (1)
50_logger.LogError(message, messageArgs);
Microsoft.DotNet.GenFacades (1)
src\Common\Internal\BuildTask.cs (1)
50_logger.LogError(message, messageArgs);
Microsoft.DotNet.Helix.Sdk (16)
CancelHelixJob.cs (2)
56Log.LogError($"Cannot cancel job '{job}'; please supply either the Job's cancellation token or the job creator's access token"); 68Log.LogError($"Job '{correlationId}' was not found. Check if you are mixing and matching authenticated and anonymous access, or accessing instantly after job creation");
CreateXHarnessAndroidWorkItems.cs (3)
78Log.LogError($"App package not found in {apkPath}"); 87Log.LogError($"Unsupported payload file `{fileSystem.GetFileName(apkPath)}`; expecting .apk or .zip"); 102Log.LogError($"{MetadataNames.AndroidPackageName} metadata must be specified when not supplying custom commands");
CreateXHarnessAppleWorkItems.cs (3)
113Log.LogError($"App bundle not found in {appFolderPath}"); 133Log.LogError($"'{MetadataNames.Target}' metadata must be specified - " + 146Log.LogError($"Invalid value \"{launchTimeoutProp}\" provided in <{MetadataNames.LaunchTimeout}>");
InstallDotNetTool.cs (2)
92Log.LogError("InstallDotNetTool task doesn't accept * in the version"); 173Log.LogError(
LoggerExtensions.cs (1)
46log.LogError(message, messageArgs);
ProvisioningProfileProvider.cs (2)
99_log.LogError($"{nameof(CreateXHarnessAppleWorkItems.TmpDir)} parameter not set but required for real device targets!"); 105_log.LogError($"{nameof(CreateXHarnessAppleWorkItems.ProvisioningProfileUrl)} parameter not set but required for real device targets!");
WaitForHelixJobCompletion.cs (1)
60Log.LogError($"Helix encountered job-level error(s) for this job ({errorMsgs}). Please contact dnceng with this information.");
XharnessTaskBase.cs (2)
69Log.LogError($"Invalid value \"{testTimeoutProp}\" provided in <{MetadataName.TestTimeout}>"); 79Log.LogError($"Invalid value \"{workItemTimeoutProp}\" provided in <{MetadataName.WorkItemTimeout}>");
Microsoft.DotNet.NuGetRepack.Tasks (11)
src\ReplacePackageParts.cs (10)
92Log.LogError($"{nameof(Parts)} and {nameof(ReplacementFiles)} lists must have the same length."); 137Log.LogError($"'{SourcePackage}' has multiple .nuspec files in the root"); 158Log.LogError($"'{SourcePackage}' has invalid nuspec: missing 'metadata' element"); 165Log.LogError($"'{SourcePackage}' has invalid nuspec: missing 'id' element"); 173Log.LogError($"'{SourcePackage}' has invalid nuspec: missing 'version' element"); 179Log.LogError($"Package NuSpec specifies an invalid package version: '{packageVersion}'"); 198Log.LogError($"Failed to open replacement file '{replacementFilePath}': {e.Message}"); 216Log.LogError($"'{SourcePackage}' has no .nuspec file in the root"); 257Log.LogError($"Invalid package version specified in {nameof(NewVersion)} parameter: '{NewVersion}'"); 267Log.LogError($"Invalid package version suffix specified in {nameof(NewVersionSuffix)} parameter: '{NewVersionSuffix}'");
src\UpdatePackageVersionTask.cs (1)
69Log.LogError($"Invalid value for task argument {nameof(VersionKind)}: '{VersionKind}'. Specify 'release' or 'prerelease' or leave empty.");
Microsoft.DotNet.PackageTesting (1)
src\Common\Internal\BuildTask.cs (1)
50_logger.LogError(message, messageArgs);
Microsoft.DotNet.SharedFramework.Sdk (1)
src\Common\Internal\BuildTask.cs (1)
50_logger.LogError(message, messageArgs);
Microsoft.DotNet.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 (49)
src\BatchSignUtil.cs (24)
69_log.LogError("Error during execution of signing process."); 175_log.LogError($"Failed to extract engine from {file.FullPath}"); 190_log.LogError($"Failed to sign engines"); 205_log.LogError($"Failed to attach engine to {engine.Value.FullPath}"); 291_log.LogError($"Don't know how to repack file '{file.FullPath}'"); 409log.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."); 415log.LogError($"WixToolsPath '{wixToolsPath}' not found."); 459_log.LogError($"Updating '{dst}' with signed content failed: '{e.Message}'"); 484log.LogError($"Assembly {fileName} cannot be signed with a VSIX certificate"); 491log.LogError($"VSIX {fileName} must be signed with a VSIX certificate"); 496log.LogError($"VSIX {fileName} cannot be strong name signed."); 503log.LogError($"Deb package {fileName} should have a certificate name."); 507log.LogError($"Deb package {fileName} must be signed with a LinuxSign certificate."); 514log.LogError($"Nupkg {fileName} should have a certificate name."); 519log.LogError($"Nupkg {fileName} cannot be strong name signed."); 526log.LogError($"Zip {fileName} should not be signed with this certificate: {fileName.SignInfo.Certificate}"); 531log.LogError($"Zip {fileName} cannot be strong name signed."); 538log.LogError($"Wix file {fileName} should have a certificate name."); 543log.LogError($"Wix file {fileName} cannot be strong name signed."); 557_log.LogError($"Assembly {file.FullPath} is NOT signed properly"); 573_log.LogError($"Deb package {file.FullPath} is not signed properly."); 580_log.LogError($"Powershell file {file.FullPath} does not have a signature mark."); 615_log.LogError($"Container {file.FullPath} does not have signature marker."); 637_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)
75_log.LogError($"Failed to execute MSBuild on the project file {projectFilePath}");
src\SignTool.cs (2)
192_log.LogError($"Found file that needs to be strong-name sign ({file.FullPath}), but path to 'sn.exe' wasn't specified."); 211_log.LogError($"Failed to strong-name sign file {file.FullPath}");
src\SignToolTask.cs (17)
208Log.LogError($"MSBuild was not found at this path: '{MSBuildPath}'."); 214Log.LogError($"DotNet was not found at this path: '{DotNetPath}'."); 226Log.LogError($"An incorrect full path to 'sn.exe' was specified: {SNBinaryPath}"); 232Log.LogError($"WixToolsPath ('{WixToolsPath}') does not exist."); 267Log.LogError($"Existing signing container cache no longer supported."); 328Log.LogError($"Paths specified in {nameof(ItemsToSign)} must be absolute: '{itemToSign}'."); 344Log.LogError($"All {nameof(ItemsToSign)} must be within the cone of a single directory."); 382Log.LogError($"Value of {nameof(FileExtensionSignInfo)} is invalid: '{extension}'"); 388Log.LogError($"CertificateName metadata of {nameof(FileExtensionSignInfo)} is invalid: '{certificate}'"); 400Log.LogError($"Multiple certificates for extension '{extension}' defined for CollisionPriorityId '{signInfo.CollisionPriorityId}'. There should be one certificate per extension per collision priority id."); 429Log.LogError($"An invalid strong name was specified in {nameof(StrongNameSignInfo)}: '{strongName}'"); 435Log.LogError($"PublicKeyToken metadata of {nameof(StrongNameSignInfo)} is invalid: '{publicKeyToken}'"); 486Log.LogError($"{nameof(FileSignInfo)} should specify file name and extension, not a full path: '{fileName}'"); 492Log.LogError($"TargetFramework metadata of {nameof(FileSignInfo)} is invalid: '{targetFramework}'"); 498Log.LogError($"CertificateName metadata of {nameof(FileSignInfo)} is invalid: '{certificateName}'"); 504Log.LogError($"PublicKeyToken metadata for {nameof(FileSignInfo)} is invalid: '{publicKeyToken}'"); 511Log.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)
90Log.LogError(
src\UsageReport\WriteUsageReports.cs (1)
196Log.LogError($"No creation time property found in snapshot {snapshot.Path}");
Microsoft.DotNet.VersionTools.Tasks (4)
BaseDependenciesTask.cs (1)
296Log.LogError(
MsBuildTraceListener.cs (1)
48_log.LogError(fullMessage);
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));
PortableTask (2)
ShowItems.cs (2)
23Log.LogError("No AssemblyFileVersionAttribute found on core assembly"); 32Log.LogError("Items was null");
SemanticSearch.BuildTask (1)
GenerateFilteredReferenceAssembliesTask.cs (1)
74Log.LogError($"GenerateFilteredReferenceAssembliesTask failed with exception:{Environment.NewLine}{e}");