5 references to TargetLoggingContext
Microsoft.Build (5)
BackEnd\Components\RequestBuilder\TaskBuilder.cs (1)
916ProjectErrorUtilities.ThrowInvalidProject(taskLoggingContext.Task.Location, "CircularDependency", taskLoggingContext.TargetLoggingContext.Target.Name);
BackEnd\TaskExecutionHost\TaskExecutionHost.cs (1)
1054_taskLoggingContext?.TargetLoggingContext?.ProjectLoggingContext?.ProjectTelemetry?.AddTaskExecution(_taskFactoryWrapper.TaskFactory.GetType().FullName, isTaskHost);
Instance\TaskFactories\AssemblyTaskFactory.cs (2)
356taskLoggingContext?.TargetLoggingContext?.ProjectLoggingContext?.ProjectTelemetry?.AddTaskExecution(GetType().FullName, isTaskHost: useTaskFactory); 427taskLoggingContext?.TargetLoggingContext?.ProjectLoggingContext?.ProjectTelemetry?.TrackTaskSubclassing(_loadedType.Type, isMicrosoftOwned);
Instance\TaskFactories\TaskHostTask.cs (1)
345_taskLoggingContext?.TargetLoggingContext?.Target?.Name,