28 references to Log
Microsoft.DotNet.SharedFramework.Sdk (28)
src\CreateFrameworkListFile.cs (5)
149
Log
.LogError($"Unexpected analyzer path format {path}. Expected 'analyzers/dotnet(/language)/analyzer.dll");
196
Log
.LogError($"No public key token found for assembly {f.Item.ItemSpec}");
235
Log
.LogError($"File matches no classification: {f.Filename}");
257
Log
.LogError($"Classification matches no files: {unused}");
263
return !
Log
.HasLoggedErrors;
src\GeneratePlatformManifestEntriesFromTemplate.cs (3)
88
Log
.LogError($"The platform manifest entry for '{entry.Name}' does not have a fallback assembly version specified and is not built on this platform.");
93
Log
.LogError($"The platform manifest entry for '{entry.Name}' does not have a fallback file version specified and is not built on this platform.");
98
return !
Log
.HasLoggedErrors;
src\GenerateSharedFrameworkDepsFile.cs (1)
129
Log
.LogErrorFromException(ex, false);
src\Microsoft.DotNet.PackageTesting\VerifyClosure.cs (11)
49
Log
.LogError("No sources to scan.");
71
return !
Log
.HasLoggedErrors;
112
Log
.LogError($"Duplicate entries for {assemblyInfo.Name} : {assemblyInfo.Path} & {existingInfo.Path}");
117
Log
.LogMessage($"Duplicate entries for {assemblyInfo.Name}, but different filenames : preferring {existingInfo.Path} over {assemblyInfo.Path}.");
190
Log
.LogError($"Assembly '{assm.Name}' is missing module dependency '{moduleReference}'");
212
Log
.LogError($"Assembly '{assm.Name}' is missing dependency '{dep.Name}'");
216
Log
.LogError($"Assembly '{assm.Name}' has insufficient version for dependency '{dep.Name}' : {depAssm.Version} < {dep.Version}.");
247
Log
.LogMessage(LogImportance.Low, $"Checked {assm.Path}");
266
Log
.LogError($"Cycle detected for {assembly.Path}.");
270
Log
.LogError(PrintCycle(suspectCycle.Value));
305
Log
.LogMessage($"Cycle detected for {depAssm.Path} : {PrintCycle(cycle)}.");
src\Microsoft.DotNet.PackageTesting\VerifyTypes.cs (6)
40
Log
.LogError("No sources to scan.");
59
Log
.LogMessage($"Ignored duplicate type {type} in both {existingAssembly.Path} and {assembly.Path}.");
63
Log
.LogError($"Duplicate type {type} in both {existingAssembly.Path} and {assembly.Path}.");
73
return !
Log
.HasLoggedErrors;
110
Log
.LogError($"Duplicate entries for {assemblyInfo.Name} : {assemblyInfo.Path} & {existingInfo.Path}");
115
Log
.LogMessage($"Duplicate entries for {assemblyInfo.Name}, but different filenames : preferring {existingInfo.Path} over {assemblyInfo.Path}.");
src\ValidateFileVersions.cs (2)
84
Log
.LogError(
89
return !
Log
.HasLoggedErrors;