19 references to LogWarning
Microsoft.NET.Build.Tasks (15)
CheckForDuplicateFrameworkReferences.cs (1)
48
Log.
LogWarning
(Strings.FrameworkReferenceOverrideWarning, item.ItemSpec, MoreInformationLink);
CheckForImplicitPackageReferenceOverrides.cs (1)
40
Log.
LogWarning
(Strings.PackageReferenceOverrideWarning, item.ItemSpec, MoreInformationLink);
CreateAppHost.cs (1)
121
Log.
LogWarning
(
GenerateDepsFile.cs (1)
287
Log.
LogWarning
(Strings.NonPortableRuntimeIdentifierDetected, string.Join(", ", affectedRids.Distinct()), string.Join(", ", affectedLibs.Distinct()));
GenerateRuntimeConfigurationFiles.cs (1)
86
Log.
LogWarning
(Strings.SkippingAdditionalProbingPaths);
GenerateShims.cs (1)
126
Log.
LogWarning
(Strings.AppHostCustomizationRequiresWindowsHostWarning);
NETSdkWarning.cs (1)
22
Log.
LogWarning
(message);
ProcessFrameworkReferences.cs (4)
492
Log.
LogWarning
(Strings.IsAotCompatibleUnsupported, MinNonEolTargetFrameworkForAot!);
501
Log.
LogWarning
(Strings.IsTrimmableUnsupported, MinNonEolTargetFrameworkForTrimming!);
508
Log.
LogWarning
(Strings.EnableSingleFileAnalyzerUnsupported, MinNonEolTargetFrameworkForSingleFile!);
530
Log.
LogWarning
(Strings.AspNetCorePackUnsupportedTargetFramework);
ProduceContentAssets.cs (2)
141
Log.
LogWarning
(Strings.DuplicatePreprocessorToken, duplicatedPreprocessorKey, preprocessorValues[duplicatedPreprocessorKey]);
233
Log.
LogWarning
(Strings.ContentItemDoesNotProvideOutputPath, pathToFinalAsset, MetadataKeys.CopyToOutput, MetadataKeys.OutputPath, MetadataKeys.PPOutputPath);
ResolvePackageAssets.cs (2)
1651
_task.Log.
LogWarning
(Strings.PackageContainsIncorrectlyCasedLocale, package.Name, package.Version.ToNormalizedString(), locale, normalizedLocale);
1668
_task.Log.
LogWarning
(Strings.PackageContainsUnknownLocale, package.Name, package.Version.ToNormalizedString(), cnf.InvalidCultureName);
Microsoft.NET.Build.Tasks.UnitTests (4)
GivenALogger.cs (4)
23
logger.
LogWarning
("NETSDK1234: Hello, {0}!", "world");
24
logger.
LogWarning
("NETSDK4567: Goodbye, {0} {1}.", "cruel", "world");
65
logger.
LogWarning
("NETSDK0000: _");
74
logger.
LogWarning
("NETSDK0000: _");