5 references to Log
Microsoft.DotNet.Build.Tasks.TargetFramework (5)
ChooseBestP2PTargetFrameworkTask.cs (4)
52
return !
Log
.HasLoggedErrors;
57
if (!TryParseFramework(CurrentProjectTargetFramework!, CurrentProjectTargetPlatform, errorMessage,
Log
, out var projectNuGetFramework))
75
return !
Log
.HasLoggedErrors;
107
Log
.LogError(string.Format(CultureInfo.CurrentCulture, "Project '{0}' targets '{1}'. It cannot be referenced by a project that targets '{2}{3}'.", project.ItemSpec, referencedProjectFrameworkString, projectNuGetFramework.DotNetFrameworkName, projectNuGetFramework.HasPlatform ? "-" + projectNuGetFramework.DotNetPlatformName : string.Empty));
ChooseBestTargetFrameworksTask.cs (1)
47
return !
Log
.HasLoggedErrors;