111 references to Log
Microsoft.NET.Build.Tasks (111)
CheckForDuplicateFrameworkReferences.cs (2)
49
Log
.LogWarning(Strings.FrameworkReferenceOverrideWarning, item.ItemSpec, MoreInformationLink);
59
Log
.LogError(Strings.FrameworkReferenceDuplicateError, duplicateItemGroup.Key);
CheckForDuplicateItems.cs (1)
55
Log
.LogError(message);
CheckForImplicitPackageReferenceOverrides.cs (1)
41
Log
.LogWarning(Strings.PackageReferenceOverrideWarning, item.ItemSpec, MoreInformationLink);
CheckForUnsupportedWinMDReferences.cs (2)
66
Log
.LogError(Strings.WinMDTransitiveReferenceNotSupported, Path.GetFileName(referencePath.ItemSpec));
76
Log
.LogError(Strings.WinMDReferenceNotSupportedOnTargetFramework, TargetFrameworkMoniker, Path.GetFileName(winMDReference.ItemSpec));
CheckSdkVulnerabilities.cs (3)
70
Log
.LogWarning(
84
Log
.LogWarning(
94
Log
.LogWarning(
CreateAppHost.cs (1)
126
Log
.LogWarning(
CreateComHost.cs (4)
35
Log
.LogError(error);
48
Log
.LogError(Strings.TypeLibraryDoesNotExist, ex.Path);
52
Log
.LogError(Strings.InvalidTypeLibraryId, ex.Id.ToString(), ex.Path);
56
Log
.LogError(Strings.InvalidTypeLibrary, ex.Path);
CreateWindowsSdkKnownFrameworkReferences.cs (2)
46
Log
.LogError(Strings.CantSpecifyBothProperties, nameof(WindowsSdkPackageVersion), nameof(WindowsSdkPackageMinimumRevision));
51
Log
.LogError(Strings.CantSpecifyBothProperties, nameof(UseWindowsSDKPreview), nameof(WindowsSdkPackageMinimumRevision));
GenerateBundle.cs (1)
166
Log
.LogMessage(MessageImportance.High, $"Unable to access file during bundling. Retrying {RetryCount} more times...");
GenerateClsidMap.cs (4)
40
Log
.LogError(Strings.ClsidMapInvalidAssembly, IntermediateAssembly);
49
Log
.LogError(Strings.ClsidMapExportedTypesRequireExplicitGuid, missingGuid.TypeName);
53
Log
.LogError(Strings.ClsidMapConflictingGuids, conflictingGuid.TypeName1, conflictingGuid.TypeName2, conflictingGuid.Guid.ToString());
57
Log
.LogError(Strings.ClsidMapInvalidAssembly, IntermediateAssembly);
GenerateDepsFile.cs (1)
301
Log
.LogWarning(Strings.NonPortableRuntimeIdentifierDetected, string.Join(", ", affectedRids.Distinct()), string.Join(", ", affectedLibs.Distinct()));
GenerateRegFreeComManifest.cs (3)
38
Log
.LogError(error);
52
Log
.LogError(Strings.TypeLibraryDoesNotExist, ex.Path);
56
Log
.LogError(Strings.InvalidTypeLibrary, ex.Path);
GenerateRuntimeConfigurationFiles.cs (2)
100
Log
.LogWarning(Strings.SkippingAdditionalProbingPaths);
108
Log
.LogError(Strings.InvalidRollForwardValue, RollForward, string.Join(", ", RollForwardValues));
GenerateShims.cs (1)
126
Log
.LogWarning(Strings.AppHostCustomizationRequiresWindowsHostWarning);
GetAssemblyVersion.cs (1)
35
Log
.LogError(Strings.InvalidNuGetVersionString, NuGetVersion);
GetPackagesToPrune.cs (1)
174
PackagesToPrune = LoadPackagesToPrune(key, targetingPackRoots, prunePackageDataRoot,
Log
, AllowMissingPrunePackageData);
LockFileCache.cs (1)
20
_log = task.
Log
;
parent\Common\ConflictResolution\ResolveOverlappingItemGroupConflicts.cs (1)
39
using (var conflictResolver = new ConflictResolver<ConflictItem>(packageRanks, packageOverrides,
Log
))
parent\Common\ConflictResolution\ResolvePackageFileConflicts.cs (1)
64
var log =
Log
;
parent\Common\NETSdkError.cs (1)
22
Log
.LogError(message);
parent\Common\NETSdkInformation.cs (1)
24
Log
.LogMessage(MessageImportance.High, message);
parent\Common\NETSdkWarning.cs (1)
22
Log
.LogWarning(message);
parent\Common\TaskBase.cs (2)
40
Log
.LogError(e.Message);
48
return !
Log
.HasLoggedErrors;
PickBestRid.cs (3)
44
Log
.LogError(Strings.RuntimeGraphFileDoesNotExist, RuntimeGraphPath);
51
Log
.LogError(Strings.RuntimeGraphFileDoesNotExist, RuntimeGraphPath);
60
Log
.LogError(Strings.UnableToFindMatchingRid, TargetRid, string.Join(",", SupportedRids), RuntimeGraphPath);
PrepareForReadyToRunCompilation.cs (1)
113
Log
.LogError(Strings.Crossgen5CannotEmitSymbolsInCompositeMode);
ProcessFrameworkReferences.cs (38)
225
Log
.LogMessage(MessageImportance.Low, $"Found {frameworkReferenceMap.Count} known framework references for target framework {TargetFrameworkIdentifier}");
226
Log
.LogMessage(MessageImportance.Low, $"Found {knownRuntimePacksForTargetFramework.Count} known runtime packs for target framework {TargetFrameworkIdentifier}");
243
Log
.LogError(Strings.WindowsDesktopFrameworkRequiresWindows);
246
Log
.LogMessage(MessageImportance.Low, $"Ignoring framework reference to {knownFrameworkReference.Name} as it is Windows-only and the current platform is not Windows.");
271
Log
.LogMessage(MessageImportance.Low, $"Selected {selectedPack.Name} with RIDs '{selectedPack.RuntimePackRuntimeIdentifiers}'");
275
Log
.LogMessage(MessageImportance.Low, $"No runtime pack found for {knownFrameworkReference.Name}.");
335
Log
.LogMessage(MessageImportance.Low, $"Selected targeting pack '{targetingPack.ItemSpec}@{targetingPackVersion}'");
443
Log
.LogMessage(MessageImportance.Low, $"Added runtime framework '{runtimeFramework.ItemSpec}@{runtimeFrameworkVersion}'");
492
Log
.LogError(Strings.ReadyToRunNoValidRuntimePackageError);
496
Log
.LogError(Strings.Crossgen2UnsupportedHostRuntimeIdentifier, NETCoreSdkRuntimeIdentifier);
500
Log
.LogError(Strings.Crossgen2UnsupportedTargetFramework);
512
Log
.LogError(Strings.AotUnsupportedTargetFramework);
515
Log
.LogError(Strings.AotUnsupportedHostRuntimeIdentifier, NETCoreSdkRuntimeIdentifier);
518
Log
.LogError(Strings.AotUnsupportedTargetRuntimeIdentifier, EffectiveRuntimeIdentifier!);
535
Log
.LogError(Strings.AotUnsupportedTargetFramework);
540
Log
.LogWarning(Strings.IsAotCompatibleUnsupported, MinNonEolTargetFrameworkForAot!);
544
Log
.LogError(Strings.PublishTrimmedRequiresVersion30);
549
Log
.LogWarning(Strings.IsTrimmableUnsupported, MinNonEolTargetFrameworkForTrimming!);
556
Log
.LogWarning(Strings.EnableSingleFileAnalyzerUnsupported, MinNonEolTargetFrameworkForSingleFile!);
563
Log
.LogError(Strings.ILLinkNoValidRuntimePackageError);
578
Log
.LogWarning(Strings.AspNetCorePackUnsupportedTargetFramework);
703
Log
.LogError(Strings.ConflictingRuntimePackInformation, runtimePackDescriptionForErrorMessage,
726
Log
.LogMessage(MessageImportance.Low, $"Finding best RID match for pack {selectedRuntimePack.Name}@{runtimePackVersion} for target RID '{runtimeIdentifier}' from '{selectedRuntimePack.RuntimePackRuntimeIdentifiers}' excluding '{selectedRuntimePack.RuntimePackExcludedRuntimeIdentifiers}'");
750
Log
.LogError(Strings.RuntimeIdentifierNotRecognized, runtimeIdentifier);
838
Log
.LogMessage(MessageImportance.Low, $"Adding tool pack {toolPackType} for runtime {normalizedTargetFrameworkVersion}");
859
Log
.LogMessage(MessageImportance.Low, $"Found {toolPackType} pack '{knownPack.ItemSpec}@{packVersion}'");
892
Log
.LogMessage(MessageImportance.Low, $"Determining best RID for '{knownPack.ItemSpec}@{packVersion}' from among '{knownPack.GetMetadata(packName + "RuntimeIdentifiers")}'");
900
Log
.LogMessage(MessageImportance.Low, $"No matching RID was found'");
903
Log
.LogMessage(MessageImportance.Low, $"Best RID for '{knownPack.ItemSpec}@{packVersion}' is '{hostRuntimeIdentifier}'");
923
Log
.LogMessage(MessageImportance.Low, $"Added {toolPackType} runtime pack '{runtimePackName}@{packVersion}'");
952
Log
.LogMessage(MessageImportance.Low, $"Checking for cross-targeting compilation packs for {aotPackRuntimeIdentifier}");
965
Log
.LogMessage(MessageImportance.Low, $"No compilation pack found for {aotPackRuntimeIdentifier}");
988
Log
.LogMessage(MessageImportance.Low, $"Added {targetIlcPackName}@{packVersion} for cross-targeting compilation for {aotPackRuntimeIdentifier}");
1003
Log
.LogMessage(MessageImportance.Low, $"Added PackageDownload for {targetIlcPackName}@{packVersion} for cross-targeting compilation for {aotPackRuntimeIdentifier}");
1008
Log
.LogMessage(MessageImportance.Low, $"No cross-targeting compilation packs required for {aotPackRuntimeIdentifier}.");
1057
Log
.LogMessage(MessageImportance.Low, $"Added {knownPack.ItemSpec}@{packVersion} for build-time targets");
1075
Log
.LogMessage(MessageImportance.Low, $"Added {analyzerPackage.ItemSpec}@{packVersion} for linker analyzers");
1199
Log
.LogError(Strings.CouldNotGetPackVersionFromWorkloadManifests, packID);
ProduceContentAssets.cs (2)
141
Log
.LogWarning(Strings.DuplicatePreprocessorToken, duplicatedPreprocessorKey, preprocessorValues[duplicatedPreprocessorKey]);
233
Log
.LogWarning(Strings.ContentItemDoesNotProvideOutputPath, pathToFinalAsset, MetadataKeys.CopyToOutput, MetadataKeys.OutputPath, MetadataKeys.PPOutputPath);
ResolveAppHosts.cs (5)
264
Log
.LogError(Strings.NoAppHostAvailable, runtimeIdentifier);
268
Log
.LogMessage(Strings.NoAppHostAvailable, runtimeIdentifier);
276
Log
.LogError(Strings.RuntimeIdentifierNotRecognized, runtimeIdentifier);
280
Log
.LogMessage(Strings.RuntimeIdentifierNotRecognized, runtimeIdentifier);
313
Log
.LogError(
ResolvePackageAssets.cs (6)
416
Log
.Log(
552
task.
Log
.LogMessage(MessageImportance.High, Strings.UnableToUsePackageAssetsCache_Info);
1736
_task.
Log
.LogWarning(Strings.PackageContainsIncorrectlyCasedLocale, package.Name, package.Version.ToNormalizedString(), locale, normalizedLocale);
1743
_task.
Log
.LogMessage(MessageImportance.Low, Strings.PackageContainsIncorrectlyCasedLocale, package.Name, package.Version.ToNormalizedString(), locale, normalizedLocale);
1753
_task.
Log
.LogWarning(Strings.PackageContainsUnknownLocale, package.Name, package.Version.ToNormalizedString(), cnf.InvalidCultureName);
1760
_task.
Log
.LogMessage(MessageImportance.Low, Strings.PackageContainsUnknownLocale, package.Name, package.Version.ToNormalizedString(), cnf.InvalidCultureName);
ResolveReadyToRunCompilers.cs (7)
59
Log
.LogError(Strings.ReadyToRunNoValidRuntimePackageError);
90
Log
.LogError(Strings.ReadyToRunNoValidRuntimePackageError);
97
Log
.LogError(Strings.ReadyToRunNoValidRuntimePackageError);
106
Log
.LogError(Strings.ReadyToRunTargetNotSupportedError);
147
Log
.LogError(Strings.ReadyToRunNoValidRuntimePackageError);
156
Log
.LogError(Strings.ReadyToRunNoValidRuntimePackageError);
181
Log
.LogError(Strings.ReadyToRunTargetNotSupportedError);
ResolveRuntimePackAssets.cs (4)
56
Log
.LogError(Strings.NoRuntimePackAvailable, unavailableRuntimePack.ItemSpec,
133
Log
.LogError(Strings.RuntimePackNotRestored_TransitiveDisabled, runtimePack.ItemSpec);
137
Log
.LogError(Strings.RuntimePackNotDownloaded, runtimePack.ItemSpec,
252
Log
.LogError(Strings.DuplicateRuntimePackAsset, assetSubPath);
ResolveTargetingPackAssets.cs (1)
94
Log
.LogError(error);
RuntimeGraphCache.cs (1)
22
_log = task.
Log
;
ShowMissingWorkloads.cs (2)
61
Log
.LogError(errorMessage);
65
Log
.LogError(Strings.WorkloadNotAvailable, string.Join(" ", unsatisfiablePacks));
ShowPreviewMessage.cs (1)
31
Log
.LogMessage(MessageImportance.High, Strings.UsingPreviewSdk);
ValidateExecutableReferences.cs (2)
109
Log
.LogError(Strings.SelfContainedExeCannotReferenceNonSelfContained, project.ItemSpec);
113
Log
.LogError(Strings.NonSelfContainedExeCannotReferenceSelfContained, project.ItemSpec);