1 write to _evaluationLoggingContext
Microsoft.Build (1)
Evaluation\Evaluator.cs (1)
253
_evaluationLoggingContext
= new EvaluationLoggingContext(
54 references to _evaluationLoggingContext
Microsoft.Build (54)
Evaluation\Evaluator.cs (54)
259
data = new PropertyTrackingEvaluatorDataWrapper<P, I, M, D>(data,
_evaluationLoggingContext
, Traits.Instance.LogPropertyTracking);
263
IDirectoryCache directoryCache = directoryCacheFactory?.GetDirectoryCacheForEvaluation(
_evaluationLoggingContext
.BuildEventContext.EvaluationId);
271
data.InitializeForEvaluation(toolsetProvider, _evaluationContext,
_evaluationLoggingContext
);
273
_expander = new Expander<P, I>(data, data, _evaluationContext,
_evaluationLoggingContext
);
380
evaluator.
_evaluationLoggingContext
.LogErrorFromText(null, null, null, new BuildEventFileInfo(root.ProjectFileLocation.File),
389
if (evaluator.
_evaluationLoggingContext
.LoggingService.IncludeEvaluationPropertiesAndItemsInEvaluationFinishedEvent)
399
evaluator.
_evaluationLoggingContext
.LogCommentFromText(MessageImportance.Low, skippedMessage);
402
evaluator.
_evaluationLoggingContext
.LogProjectEvaluationFinished(globalProperties, properties, items, evaluator._evaluationProfiler.ProfiledResult);
669
_data.EvaluationId =
_evaluationLoggingContext
.BuildEventContext.EvaluationId;
670
_evaluationLoggingContext
.LogProjectEvaluationStarted();
675
_evaluationLoggingContext
.LogCommentFromText(MessageImportance.Low, configMessage);
680
AssemblyLoadsTracker.StartTracking(
_evaluationLoggingContext
, AssemblyLoadingContext.Evaluation);
755
lazyEvaluator = new LazyItemEvaluator<P, I, M, D>(_data, _itemFactory,
_evaluationLoggingContext
, _evaluationProfiler, _evaluationContext);
814
_evaluationLoggingContext
,
1128
_evaluationLoggingContext
.LogComment(MessageImportance.Low, "OverridingTarget", otherTarget.Name, otherTarget.Location.File, targetName, targetElement.Location.File);
1167
_evaluationLoggingContext
.LogComment(MessageImportance.Low, "TargetDoesNotExistBeforeTargetMessage", unescapedBeforeTarget, targetElement.BeforeTargetsLocation.LocationString);
1190
_evaluationLoggingContext
.LogComment(MessageImportance.Low, "TargetDoesNotExistAfterTargetMessage", unescapedAfterTarget, targetElement.AfterTargetsLocation.LocationString);
1202
_evaluationLoggingContext
.LogWarning("", new BuildEventFileInfo(""), "ChangeWave_InvalidFormat", Traits.Instance.MSBuildDisableFeaturesFromVersion, $"[{string.Join(", ", ChangeWaves.AllWaves.Select(x => x.ToString()))}]");
1205
_evaluationLoggingContext
.LogWarning("", new BuildEventFileInfo(""), "ChangeWave_OutOfRotation", ChangeWaves.DisabledWave, Traits.Instance.MSBuildDisableFeaturesFromVersion, $"[{string.Join(", ", ChangeWaves.AllWaves.Select(x => x.ToString()))}]");
1288
_data.SetProperty(environmentProperty.Name, ((IProperty)environmentProperty).EvaluatedValueEscaped, isGlobalProperty: false, mayBeReserved: false, isEnvironmentVariable: true, loggingContext:
_evaluationLoggingContext
);
1299
_data.SetProperty(toolsetProperty.Name, ((IProperty)toolsetProperty).EvaluatedValueEscaped, false /* NOT global property */, false /* may NOT be a reserved name */, loggingContext:
_evaluationLoggingContext
);
1308
_data.SetProperty(Constants.VisualStudioVersionPropertyName, MSBuildConstants.CurrentVisualStudioVersion, false /* NOT global property */, false /* may NOT be a reserved name */, loggingContext:
_evaluationLoggingContext
);
1318
_data.SetProperty(Constants.SubToolsetVersionPropertyName, _data.SubToolsetVersion, false /* NOT global property */, false /* may NOT be a reserved name */, loggingContext:
_evaluationLoggingContext
);
1325
_data.SetProperty(subToolsetProperty.Name, ((IProperty)subToolsetProperty).EvaluatedValueEscaped, false /* NOT global property */, false /* may NOT be a reserved name */, loggingContext:
_evaluationLoggingContext
);
1348
loggingContext:
_evaluationLoggingContext
,
1363
P property = _data.SetProperty(name, evaluatedValueEscaped, false /* NOT global property */, true /* OK to be a reserved name */, loggingContext:
_evaluationLoggingContext
);
1381
_evaluationLoggingContext
.LogComment(MessageImportance.Low, "OM_GlobalProperty", propertyElement.Name);
1399
_expander.PropertiesUseTracker.CheckPreexistingUndefinedUsage(propertyElement, evaluatedValue,
_evaluationLoggingContext
);
1401
_data.SetProperty(propertyElement, evaluatedValue,
_evaluationLoggingContext
);
1659
_evaluationLoggingContext
.LogComment(MessageImportance.Low, "SearchPathsForMSBuildExtensionsPath",
1702
_evaluationLoggingContext
.LogComment(MessageImportance.Low, "TryingExtensionsPath", newExpandedImportPath, extensionPathExpanded);
1802
BuildEventContext =
_evaluationLoggingContext
.BuildEventContext,
1807
_evaluationLoggingContext
.LogBuildEvent(eventArgs);
1887
using var assemblyLoadsTracker = AssemblyLoadsTracker.StartTracking(
_evaluationLoggingContext
, AssemblyLoadingContext.SdkResolution, _sdkResolverService.GetType());
1892
_evaluationLoggingContext
,
1916
BuildEventContext =
_evaluationLoggingContext
.BuildEventContext,
1923
_evaluationLoggingContext
.LogBuildEvent(eventArgs);
2120
BuildEventContext =
_evaluationLoggingContext
.BuildEventContext,
2127
_evaluationLoggingContext
.LogBuildEvent(eventArgs);
2157
loggingMechanism:
_evaluationLoggingContext
,
2181
BuildEventContext =
_evaluationLoggingContext
.BuildEventContext,
2186
_evaluationLoggingContext
.LogBuildEvent(eventArgs);
2214
_evaluationLoggingContext
.LogWarning(null, new BuildEventFileInfo(importLocationInProject), "SelfImport", importFileUnescaped);
2231
_evaluationLoggingContext
.LogWarning(null, new BuildEventFileInfo(importLocationInProject), "ImportIntroducesCircularity", importFileUnescaped, importedBy);
2258
_evaluationLoggingContext
.LogWarning(null, new BuildEventFileInfo(importLocationInProject), "DuplicateImport", importFileUnescaped, previouslyImportedAt.Location.LocationString, parenthesizedProjectLocation);
2322
BuildEventContext =
_evaluationLoggingContext
.BuildEventContext,
2328
_evaluationLoggingContext
.LogBuildEvent(eventArgs);
2353
BuildEventContext =
_evaluationLoggingContext
.BuildEventContext,
2360
_evaluationLoggingContext
.LogBuildEvent(eventArgs);
2408
BuildEventContext =
_evaluationLoggingContext
.BuildEventContext,
2415
_evaluationLoggingContext
.LogBuildEvent(eventArgs);
2528
loggingContext:
_evaluationLoggingContext
);
2565
_evaluationLoggingContext
,
2709
loggingContext:
_evaluationLoggingContext
);