17 references to LogWarning
Microsoft.Build (17)
BackEnd\Components\RequestBuilder\TaskBuilder.cs (1)
965
taskLoggingContext.
LogWarning
(null,
BackEnd\Components\RequestBuilder\TaskHost.cs (1)
1121
_taskLoggingContext.
LogWarning
(null, new BuildEventFileInfo(string.Empty), "ExpectedEventToBeSerializable", e.GetType().Name);
BackEnd\Components\SdkResolution\CachingSdkResolverService.cs (1)
79
loggingContext.
LogWarning
(null, new BuildEventFileInfo(sdkReferenceLocation), "ReferencingMultipleVersionsOfTheSameSdk", sdk.Name, result.Version, result.ElementLocation, sdk.Version);
BackEnd\Components\SdkResolution\OutOfProcNodeSdkResolverService.cs (1)
88
loggingContext.
LogWarning
(null, new BuildEventFileInfo(sdkReferenceLocation), "ReferencingMultipleVersionsOfTheSameSdk", sdk.Name, sdkResult.Version, sdkResult.ElementLocation, sdk.Version);
BackEnd\Components\SdkResolution\SdkResolverService.cs (1)
364
loggingContext.
LogWarning
(null, new BuildEventFileInfo(sdkReferenceLocation), "SdkResultVersionDifferentThanReference", sdk.Name, sdk.Version, result.Version);
Definition\Toolset.cs (4)
716
loggingContext.
LogWarning
(
727
loggingContext.
LogWarning
(
1013
loggingContext.
LogWarning
(null, new BuildEventFileInfo(String.Empty /* this warning truly does not involve any file*/), "OverrideTasksFileFailure", rootedPathMessage);
1020
loggingContext.
LogWarning
(null, new BuildEventFileInfo(String.Empty /* this warning truly does not involve any file*/), "OverrideTasksFileFailure", rootedPathMessage);
Evaluation\Evaluator.cs (5)
1121
_evaluationLoggingContext.
LogWarning
("", new BuildEventFileInfo(""), "ChangeWave_InvalidFormat", Traits.Instance.MSBuildDisableFeaturesFromVersion, $"[{String.Join(", ", ChangeWaves.AllWaves.Select(x => x.ToString()))}]");
1124
_evaluationLoggingContext.
LogWarning
("", new BuildEventFileInfo(""), "ChangeWave_OutOfRotation", ChangeWaves.DisabledWave, Traits.Instance.MSBuildDisableFeaturesFromVersion, $"[{String.Join(", ", ChangeWaves.AllWaves.Select(x => x.ToString()))}]");
2098
_evaluationLoggingContext.
LogWarning
(null, new BuildEventFileInfo(importLocationInProject), "SelfImport", importFileUnescaped);
2115
_evaluationLoggingContext.
LogWarning
(null, new BuildEventFileInfo(importLocationInProject), "ImportIntroducesCircularity", importFileUnescaped, importedBy);
2142
_evaluationLoggingContext.
LogWarning
(null, new BuildEventFileInfo(importLocationInProject), "DuplicateImport", importFileUnescaped, previouslyImportedAt.Location.LocationString, parenthesizedProjectLocation);
Evaluation\PropertiesUseTracker.cs (1)
143
loggingContext.
LogWarning
(null, new BuildEventFileInfo(propertyElement.Location), "UsedUninitializedProperty", propertyElement.Name, elementWhichUsedProperty?.LocationString);
Instance\TaskFactoryLoggingHost.cs (1)
348
_loggingContext.
LogWarning
(null, new BuildEventFileInfo(string.Empty), "ExpectedEventToBeSerializable", e.GetType().Name);
Instance\TaskRegistry.cs (1)
1566
targetLoggingContext.
LogWarning
(