550 references to LogError
Aspire.Hosting.Tasks (2)
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);
ILCompiler.Build.Tasks (1)
ILLink.Tasks (11)
installer.tasks (7)
Microsoft.AspNetCore.Components.Testing.Tasks (4)
Microsoft.Build.Tasks.CodeAnalysis (1)
Microsoft.Build.Tasks.Core (7)
Microsoft.Build.Tasks.Git (4)
Microsoft.Build.Utilities.Core (1)
Microsoft.DotNet.Arcade.Sdk (41)
Microsoft.DotNet.Build.Manifest (8)
Microsoft.DotNet.Build.Tasks.Feed (12)
Microsoft.DotNet.Build.Tasks.FileCatalog (2)
Microsoft.DotNet.Build.Tasks.Installers (30)
Microsoft.DotNet.Build.Tasks.Packaging (91)
ValidatePackage.cs (33)
124Log.LogError($"Invalid generation {compileAsset.TargetFramework.Version} for {compileAsset.LocalPath}, must be at least {minSupportedGeneration} based on the implementations in the package. If you meant to target the lower generation you may be missing an implementation for a framework on that lower generation. If not you should raise the generation of the reference assembly to match that of the lowest supported generation of all implementations/placeholders.");
142Log.LogError($"Missing target {fx.ToString()} from validation report {ReportFile}");
158Log.LogError($"Missing target {target} from validation report {ReportFile}");
174Log.LogError($"{ContractName} should not be supported on {target} but has both compile and runtime assets.");
178Log.LogError($"{ContractName} should not be supported on {target} but has runtime assets.");
183Log.LogError($"{ContractName} should not be supported on {target} but has placeholders for both compile and runtime which will permit the package to install.");
192Log.LogError($"Framework {fx} should support {ContractName} inbox but was missing a placeholder for compile-time. You may need to add <InboxOnTargetFramework Include=\"{fx.GetShortFolderName()}\" /> to your project.");
196Log.LogError($"Framework {fx} should support {ContractName} inbox but contained a reference assemblies: {String.Join(", ", compileAssetPaths)}. You may need to add <InboxOnTargetFramework Include=\"{fx.GetShortFolderName()}\" /> to your project.");
201Log.LogError($"Framework {fx} should support {ContractName} inbox but was missing a placeholder for run-time. You may need to add <InboxOnTargetFramework Include=\"{fx.GetShortFolderName()}\" /> to your project.");
205Log.LogError($"Framework {fx} should support {ContractName} inbox but contained a implementation assemblies: {String.Join(", ", runtimeAssetPaths)}. You may need to add <InboxOnTargetFramework Include=\"{fx.GetShortFolderName()}\" /> to your project.");
215Log.LogError($"{ContractName} should be supported on {target} but has a compile placeholder. You may need to remove InboxOnTargetFramework Include=\"{fx.GetShortFolderName()}\" /> from your project.");
219Log.LogError($"{ContractName} should be supported on {target} but has no compile assets.");
231Log.LogError($"{ContractName} should only contain a single compile asset for {target}.");
240Log.LogError($"{ContractName} should support API version {supportedVersion} on {target} but {referenceAssembly.LocalPath} was found to support {referenceAssemblyVersion?.ToString() ?? "<unknown version>"}.");
255Log.LogError($"{ContractName} should be supported on {target} but has no runtime assets.");
269Log.LogError($"{ContractName} should support API version {supportedVersion} on {target} but {implementationAssembly.LocalPath} was found to support {implementationVersion?.ToString() ?? "<unknown version>"}.");
278Log.LogError($"{ContractName} has mismatched compile ({referenceAssemblyVersion}) and runtime ({implementationVersion}) versions on {target}.");
285Log.LogError($"{ContractName} has a higher runtime version ({implementationVersion}) than compile version ({referenceAssemblyVersion}) on .NET Desktop framework {target}. This will break bindingRedirects. If the live reference was replaced with a harvested reference you may need to set <Preserve>true</Preserve> on your reference assembly ProjectReference.");
292Log.LogError($"{ContractName} includes both {implementationAssembly.LocalPath} and {implementationFiles[fileName].LocalPath} an on {target} which have the same name and will clash when both packages are used.");
312Log.LogError($"When targeting {target} {ContractName} will use {implementationAssembly.LocalPath} which targets {implementationAssembly.TargetFramework.GetShortFolderName()} but {String.Join(";", matchingFxAssets.Select(i => i.PackagePath))} targets {fx.GetShortFolderName()} specifically.");
343Log.LogError($"PackageIndex from {String.Join(", ", PackageIndexes.Select(i => i.ItemSpec))} is missing an entry for package {PackageId}. Please run /t:UpdatePackageIndex on this project to commit an update.");
360Log.LogError($"PackageIndex from {String.Join(", ", PackageIndexes.Select(i => i.ItemSpec))} is missing an assembly version entry for {fileVersion} for package {PackageId}. Please run /t:UpdatePackageIndex on this project to commit an update.");
367Log.LogError($"PackageIndex from {String.Join(", ", PackageIndexes.Select(i => i.ItemSpec))} indicates that assembly version {fileVersion} is contained in non-stable package version {packageVersion} which differs from this package version {thisPackageVersion}.");
377Log.LogError($"PackageIndex from {String.Join(", ", PackageIndexes.Select(i => i.ItemSpec))} is has an assembly version entry(s) for {String.Join(", ", orphanedAssemblyVersions)} which are no longer in package {PackageId}. Please run /t:UpdatePackageIndex on this project to commit an update.");
390Log.LogError($"PackageIndex from {String.Join(", ", PackageIndexes.Select(i => i.ItemSpec))} is missing an baseline entry(s) for native module {PackageId}. Please run /t:UpdatePackageIndex on this project to commit an update.");
401Log.LogError($"PackageIndex from {String.Join(", ", PackageIndexes.Select(i => i.ItemSpec))} is missing ModulesToPackages entry(s) for {String.Join(", ", missingModuleNames)} to package {PackageId}. Please add a an entry for the appropriate package.");
427Log.LogError($"Could not parse Framework {framework.ItemSpec}. {ex}");
433Log.LogError($"Did not recognize {framework.ItemSpec} as valid Framework.");
441Log.LogError($"Framework {fx} has been listed in Frameworks more than once.");
473Log.LogError($"Could not parse TargetFramework {fxString} as a SupportedFramework. {ex}");
479Log.LogError($"Did not recognize TargetFramework {fxString} as a SupportedFramework.");
491Log.LogError($"Could not parse Version {version} on SupportedFramework item {supportedFramework.ItemSpec}. {ex}");
498Log.LogError($"SupportedFramework {fx} was specified but is not part of the Framework list to use for validation.");
Microsoft.DotNet.Build.Tasks.TargetFramework (2)
Microsoft.DotNet.Build.Tasks.Templating (1)
Microsoft.DotNet.Build.Tasks.VisualStudio (8)
Microsoft.DotNet.CMake.Sdk (8)
Microsoft.DotNet.GenFacades (6)
Microsoft.DotNet.HotReload.Utils.Generator.Tasks (2)
Microsoft.DotNet.NuGetRepack.Tasks (11)
Microsoft.DotNet.PackageTesting (10)
Microsoft.DotNet.SharedFramework.Sdk (17)
Microsoft.DotNet.SourceBuild.Tasks (1)
Microsoft.Maui.Resizetizer (3)
Microsoft.NET.Build.Containers (9)
Microsoft.NET.Build.Tasks (17)
RunReadyToRunCompiler.cs (17)
97Log.LogError(Strings.CrossgenToolMissingInPDBCompilationMode);
105Log.LogError(Strings.Crossgen2ToolMissingWhenUseCrossgen2IsSet);
110Log.LogError(Strings.Crossgen2ToolExecutableNotFound, Crossgen2Tool.ItemSpec);
116Log.LogError(Strings.DotNetHostExecutableNotFound, hostPath);
124Log.LogError(Strings.JitLibraryNotFound, jitPath);
131Log.LogError(Strings.Crossgen2MissingRequiredMetadata, MetadataKeys.JitPath);
139Log.LogError(Strings.Crossgen2MissingRequiredMetadata, MetadataKeys.TargetOS);
144Log.LogError(Strings.Crossgen2MissingRequiredMetadata, MetadataKeys.TargetArch);
153Log.LogError(Strings.CrossgenToolMissingWhenUseCrossgen2IsNotSet);
158Log.LogError(Strings.CrossgenToolExecutableNotFound, CrossgenTool.ItemSpec);
163Log.LogError(Strings.JitLibraryNotFound, MetadataKeys.JitPath);
176Log.LogError(Strings.DiaSymReaderLibraryNotFound, DiaSymReader);
183Log.LogError(Strings.MissingOutputPDBImagePath);
188Log.LogError(Strings.PDBGeneratorInputExecutableNotFound, _outputR2RImage);
201Log.LogError(Strings.InputAssemblyNotFound, _inputAssembly);
212Log.LogError(Strings.MissingOutputR2RImageFileName);
218Log.LogError(Strings.MissingOutputPDBImagePath);
Microsoft.NET.Sdk.BlazorWebAssembly.Tasks (4)
Microsoft.NET.Sdk.Publish.Tasks (30)
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);
Microsoft.NET.Sdk.Razor.Tasks (11)
Microsoft.NET.Sdk.StaticWebAssets.Tasks (52)
ReadPackageAssetsManifest.cs (6)
38Log.LogError("IntermediateOutputPath is required.");
54Log.LogError("Package manifest file '{0}' not found.", manifestPath);
167Log.LogError("Failed to read package manifest '{0}': {1}", manifestPath, ex.Message);
173Log.LogError("Package manifest '{0}' deserialized to null.", manifestPath);
179Log.LogError("Unsupported package manifest version {0} in '{1}'. Expected version {2}.", manifest.Version, manifestPath, StaticWebAssetPackageManifest.CurrentVersion);
185Log.LogError("Unexpected manifest type '{0}' in '{1}'. Expected '{2}'.", manifest.ManifestType, manifestPath, StaticWebAssetPackageManifest.PackageManifestType);
Microsoft.SourceLink.AzureDevOpsServer.Git (10)
src\sourcelink\src\Common\GitProvider\GetSourceLinkUrlGitTask.cs (7)
102Log.LogError(CommonResources.ValueOfWithIdentityIsInvalid, Names.SourceRoot.RepositoryUrlFullName, SourceRoot.ItemSpec, gitUrl);
114Log.LogError(CommonResources.AtLeastOneRepositoryHostIsRequired, HostsItemGroupName, ProviderDisplayName);
130Log.LogError(CommonResources.ValueOfWithIdentityIsNotValidCommitHash, Names.SourceRoot.RevisionIdFullName, SourceRoot.ItemSpec, revisionId);
181Log.LogError(CommonResources.ValuePassedToTaskParameterNotValidDomainName, nameof(Hosts), item.ItemSpec);
194Log.LogError(CommonResources.ValuePassedToTaskParameterNotValidHostUri, nameof(Hosts), contentUrl);
215Log.LogError(CommonResources.ValuePassedToTaskParameterNotValidHostUri, nameof(RepositoryUrl), RepositoryUrl);
220Log.LogError(CommonResources.ValuePassedToTaskParameterNotValidUri, nameof(RepositoryUrl), RepositoryUrl);
Microsoft.SourceLink.AzureRepos.Git (10)
src\sourcelink\src\Common\GitProvider\GetSourceLinkUrlGitTask.cs (7)
102Log.LogError(CommonResources.ValueOfWithIdentityIsInvalid, Names.SourceRoot.RepositoryUrlFullName, SourceRoot.ItemSpec, gitUrl);
114Log.LogError(CommonResources.AtLeastOneRepositoryHostIsRequired, HostsItemGroupName, ProviderDisplayName);
130Log.LogError(CommonResources.ValueOfWithIdentityIsNotValidCommitHash, Names.SourceRoot.RevisionIdFullName, SourceRoot.ItemSpec, revisionId);
181Log.LogError(CommonResources.ValuePassedToTaskParameterNotValidDomainName, nameof(Hosts), item.ItemSpec);
194Log.LogError(CommonResources.ValuePassedToTaskParameterNotValidHostUri, nameof(Hosts), contentUrl);
215Log.LogError(CommonResources.ValuePassedToTaskParameterNotValidHostUri, nameof(RepositoryUrl), RepositoryUrl);
220Log.LogError(CommonResources.ValuePassedToTaskParameterNotValidUri, nameof(RepositoryUrl), RepositoryUrl);
Microsoft.SourceLink.Bitbucket.Git (11)
src\sourcelink\src\Common\GitProvider\GetSourceLinkUrlGitTask.cs (7)
102Log.LogError(CommonResources.ValueOfWithIdentityIsInvalid, Names.SourceRoot.RepositoryUrlFullName, SourceRoot.ItemSpec, gitUrl);
114Log.LogError(CommonResources.AtLeastOneRepositoryHostIsRequired, HostsItemGroupName, ProviderDisplayName);
130Log.LogError(CommonResources.ValueOfWithIdentityIsNotValidCommitHash, Names.SourceRoot.RevisionIdFullName, SourceRoot.ItemSpec, revisionId);
181Log.LogError(CommonResources.ValuePassedToTaskParameterNotValidDomainName, nameof(Hosts), item.ItemSpec);
194Log.LogError(CommonResources.ValuePassedToTaskParameterNotValidHostUri, nameof(Hosts), contentUrl);
215Log.LogError(CommonResources.ValuePassedToTaskParameterNotValidHostUri, nameof(RepositoryUrl), RepositoryUrl);
220Log.LogError(CommonResources.ValuePassedToTaskParameterNotValidUri, nameof(RepositoryUrl), RepositoryUrl);
Microsoft.SourceLink.Common (4)
Microsoft.SourceLink.Gitea (9)
src\sourcelink\src\Common\GitProvider\GetSourceLinkUrlGitTask.cs (7)
102Log.LogError(CommonResources.ValueOfWithIdentityIsInvalid, Names.SourceRoot.RepositoryUrlFullName, SourceRoot.ItemSpec, gitUrl);
114Log.LogError(CommonResources.AtLeastOneRepositoryHostIsRequired, HostsItemGroupName, ProviderDisplayName);
130Log.LogError(CommonResources.ValueOfWithIdentityIsNotValidCommitHash, Names.SourceRoot.RevisionIdFullName, SourceRoot.ItemSpec, revisionId);
181Log.LogError(CommonResources.ValuePassedToTaskParameterNotValidDomainName, nameof(Hosts), item.ItemSpec);
194Log.LogError(CommonResources.ValuePassedToTaskParameterNotValidHostUri, nameof(Hosts), contentUrl);
215Log.LogError(CommonResources.ValuePassedToTaskParameterNotValidHostUri, nameof(RepositoryUrl), RepositoryUrl);
220Log.LogError(CommonResources.ValuePassedToTaskParameterNotValidUri, nameof(RepositoryUrl), RepositoryUrl);
Microsoft.SourceLink.Gitee (9)
src\sourcelink\src\Common\GitProvider\GetSourceLinkUrlGitTask.cs (7)
102Log.LogError(CommonResources.ValueOfWithIdentityIsInvalid, Names.SourceRoot.RepositoryUrlFullName, SourceRoot.ItemSpec, gitUrl);
114Log.LogError(CommonResources.AtLeastOneRepositoryHostIsRequired, HostsItemGroupName, ProviderDisplayName);
130Log.LogError(CommonResources.ValueOfWithIdentityIsNotValidCommitHash, Names.SourceRoot.RevisionIdFullName, SourceRoot.ItemSpec, revisionId);
181Log.LogError(CommonResources.ValuePassedToTaskParameterNotValidDomainName, nameof(Hosts), item.ItemSpec);
194Log.LogError(CommonResources.ValuePassedToTaskParameterNotValidHostUri, nameof(Hosts), contentUrl);
215Log.LogError(CommonResources.ValuePassedToTaskParameterNotValidHostUri, nameof(RepositoryUrl), RepositoryUrl);
220Log.LogError(CommonResources.ValuePassedToTaskParameterNotValidUri, nameof(RepositoryUrl), RepositoryUrl);
Microsoft.SourceLink.GitHub (9)
src\sourcelink\src\Common\GitProvider\GetSourceLinkUrlGitTask.cs (7)
102Log.LogError(CommonResources.ValueOfWithIdentityIsInvalid, Names.SourceRoot.RepositoryUrlFullName, SourceRoot.ItemSpec, gitUrl);
114Log.LogError(CommonResources.AtLeastOneRepositoryHostIsRequired, HostsItemGroupName, ProviderDisplayName);
130Log.LogError(CommonResources.ValueOfWithIdentityIsNotValidCommitHash, Names.SourceRoot.RevisionIdFullName, SourceRoot.ItemSpec, revisionId);
181Log.LogError(CommonResources.ValuePassedToTaskParameterNotValidDomainName, nameof(Hosts), item.ItemSpec);
194Log.LogError(CommonResources.ValuePassedToTaskParameterNotValidHostUri, nameof(Hosts), contentUrl);
215Log.LogError(CommonResources.ValuePassedToTaskParameterNotValidHostUri, nameof(RepositoryUrl), RepositoryUrl);
220Log.LogError(CommonResources.ValuePassedToTaskParameterNotValidUri, nameof(RepositoryUrl), RepositoryUrl);
Microsoft.SourceLink.GitLab (10)
src\sourcelink\src\Common\GitProvider\GetSourceLinkUrlGitTask.cs (7)
102Log.LogError(CommonResources.ValueOfWithIdentityIsInvalid, Names.SourceRoot.RepositoryUrlFullName, SourceRoot.ItemSpec, gitUrl);
114Log.LogError(CommonResources.AtLeastOneRepositoryHostIsRequired, HostsItemGroupName, ProviderDisplayName);
130Log.LogError(CommonResources.ValueOfWithIdentityIsNotValidCommitHash, Names.SourceRoot.RevisionIdFullName, SourceRoot.ItemSpec, revisionId);
181Log.LogError(CommonResources.ValuePassedToTaskParameterNotValidDomainName, nameof(Hosts), item.ItemSpec);
194Log.LogError(CommonResources.ValuePassedToTaskParameterNotValidHostUri, nameof(Hosts), contentUrl);
215Log.LogError(CommonResources.ValuePassedToTaskParameterNotValidHostUri, nameof(RepositoryUrl), RepositoryUrl);
220Log.LogError(CommonResources.ValuePassedToTaskParameterNotValidUri, nameof(RepositoryUrl), RepositoryUrl);
Microsoft.SourceLink.GitWeb (9)
src\sourcelink\src\Common\GitProvider\GetSourceLinkUrlGitTask.cs (7)
102Log.LogError(CommonResources.ValueOfWithIdentityIsInvalid, Names.SourceRoot.RepositoryUrlFullName, SourceRoot.ItemSpec, gitUrl);
114Log.LogError(CommonResources.AtLeastOneRepositoryHostIsRequired, HostsItemGroupName, ProviderDisplayName);
130Log.LogError(CommonResources.ValueOfWithIdentityIsNotValidCommitHash, Names.SourceRoot.RevisionIdFullName, SourceRoot.ItemSpec, revisionId);
181Log.LogError(CommonResources.ValuePassedToTaskParameterNotValidDomainName, nameof(Hosts), item.ItemSpec);
194Log.LogError(CommonResources.ValuePassedToTaskParameterNotValidHostUri, nameof(Hosts), contentUrl);
215Log.LogError(CommonResources.ValuePassedToTaskParameterNotValidHostUri, nameof(RepositoryUrl), RepositoryUrl);
220Log.LogError(CommonResources.ValuePassedToTaskParameterNotValidUri, nameof(RepositoryUrl), RepositoryUrl);
Microsoft.TestPlatform.Build (1)
NuGet.Build.Tasks (3)
NuGet.Build.Tasks.Console (2)
NuGet.Build.Tasks.Pack (2)
RepoTasks (11)
sdk-tasks (19)