17 references to LogWarning
Microsoft.Build (17)
BackEnd\Components\RequestBuilder\TaskBuilder.cs (1)
961
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)
707
loggingContext.
LogWarning
(
718
loggingContext.
LogWarning
(
1004
loggingContext.
LogWarning
(null, new BuildEventFileInfo(String.Empty /* this warning truly does not involve any file*/), "OverrideTasksFileFailure", rootedPathMessage);
1011
loggingContext.
LogWarning
(null, new BuildEventFileInfo(String.Empty /* this warning truly does not involve any file*/), "OverrideTasksFileFailure", rootedPathMessage);
Evaluation\Evaluator.cs (5)
1113
_evaluationLoggingContext.
LogWarning
("", new BuildEventFileInfo(""), "ChangeWave_InvalidFormat", Traits.Instance.MSBuildDisableFeaturesFromVersion, $"[{String.Join(", ", ChangeWaves.AllWaves.Select(x => x.ToString()))}]");
1116
_evaluationLoggingContext.
LogWarning
("", new BuildEventFileInfo(""), "ChangeWave_OutOfRotation", ChangeWaves.DisabledWave, Traits.Instance.MSBuildDisableFeaturesFromVersion, $"[{String.Join(", ", ChangeWaves.AllWaves.Select(x => x.ToString()))}]");
2084
_evaluationLoggingContext.
LogWarning
(null, new BuildEventFileInfo(importLocationInProject), "SelfImport", importFileUnescaped);
2101
_evaluationLoggingContext.
LogWarning
(null, new BuildEventFileInfo(importLocationInProject), "ImportIntroducesCircularity", importFileUnescaped, importedBy);
2128
_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)
1480
targetLoggingContext.
LogWarning
(