5 references to TargetLoggingContext
Microsoft.Build (5)
BackEnd\Components\RequestBuilder\TaskBuilder.cs (2)
804
using (FullTracking.Track(taskLoggingContext.
TargetLoggingContext
.Target.Name, _taskNode.Name, _buildRequestEntry.ProjectRootDirectory, _buildRequestEntry.RequestConfiguration.Project.PropertiesToBuildWith))
879
ProjectErrorUtilities.ThrowInvalidProject(taskLoggingContext.Task.Location, "CircularDependency", taskLoggingContext.
TargetLoggingContext
.Target.Name);
BackEnd\TaskExecutionHost\TaskExecutionHost.cs (1)
1015
_taskLoggingContext?.
TargetLoggingContext
?.ProjectLoggingContext?.ProjectTelemetry?.AddTaskExecution(_taskFactoryWrapper.TaskFactory.GetType().FullName, isTaskHost);
Instance\TaskFactories\AssemblyTaskFactory.cs (2)
356
_taskLoggingContext?.
TargetLoggingContext
?.ProjectLoggingContext?.ProjectTelemetry?.AddTaskExecution(GetType().FullName, isTaskHost: useTaskFactory);
423
_taskLoggingContext?.
TargetLoggingContext
?.ProjectLoggingContext?.ProjectTelemetry?.TrackTaskSubclassing(_loadedType.Type, isMicrosoftOwned);