3 instantiations of ProjectLoggingContext
Microsoft.Build (3)
BackEnd\Components\Logging\NodeLoggingContext.cs (1)
91
return new
ProjectLoggingContext
(this, request, configuration.ProjectFullPath, configuration.ToolsVersion, evaluationId);
BackEnd\Components\Logging\ProjectLoggingContext.cs (1)
97
return (args, new
ProjectLoggingContext
(nodeLoggingContext, args));
BackEnd\Components\RequestBuilder\RequestBuilder.cs (1)
1183
_projectLoggingContext = new
ProjectLoggingContext
(
22 references to ProjectLoggingContext
Microsoft.Build (22)
BackEnd\Components\Logging\NodeLoggingContext.cs (6)
65
internal
ProjectLoggingContext
LogProjectStarted(BuildRequestEntry requestEntry)
67
(ProjectStartedEventArgs arg,
ProjectLoggingContext
ctx) = CreateProjectLoggingContext(requestEntry);
72
internal (ProjectStartedEventArgs,
ProjectLoggingContext
) CreateProjectLoggingContext(BuildRequestEntry requestEntry)
75
return
ProjectLoggingContext
.CreateLoggingContext(this, requestEntry);
84
internal
ProjectLoggingContext
LogProjectStarted(BuildRequest request, BuildRequestConfiguration configuration)
100
ProjectLoggingContext
projectLoggingContext = LogProjectStarted(request, configuration);
BackEnd\Components\Logging\ProjectLoggingContext.cs (1)
81
public static (ProjectStartedEventArgs,
ProjectLoggingContext
) CreateLoggingContext(
BackEnd\Components\Logging\TargetLoggingContext.cs (4)
23
private
ProjectLoggingContext
_projectLoggingContext;
33
internal TargetLoggingContext(
ProjectLoggingContext
projectLoggingContext, string projectFullPath, ProjectTargetInstance target, string parentTargetName, TargetBuiltReason buildReason)
41
private static BuildEventContext CreateInitialContext(
ProjectLoggingContext
projectLoggingContext,
64
internal
ProjectLoggingContext
ProjectLoggingContext
BackEnd\Components\RequestBuilder\ITargetBuilder.cs (1)
29
Task<BuildResult> BuildTargets(
ProjectLoggingContext
projectLoggingContext, BuildRequestEntry entry, IRequestBuilderCallback callback, (string name, TargetBuiltReason reason)[] targets, Lookup baseLookup, CancellationToken cancellationToken);
BackEnd\Components\RequestBuilder\RequestBuilder.cs (3)
28
using ProjectLoggingContext = Microsoft.Build.BackEnd.Logging.
ProjectLoggingContext
;
92
private
ProjectLoggingContext
_projectLoggingContext;
1403
(ProjectStartedEventArgs args,
ProjectLoggingContext
ctx) = _nodeLoggingContext.CreateProjectLoggingContext(_requestEntry);
BackEnd\Components\RequestBuilder\TargetBuilder.cs (3)
17
using ProjectLoggingContext = Microsoft.Build.BackEnd.Logging.
ProjectLoggingContext
;
76
private
ProjectLoggingContext
_projectLoggingContext;
108
public async Task<BuildResult> BuildTargets(
ProjectLoggingContext
loggingContext, BuildRequestEntry entry, IRequestBuilderCallback callback, (string name, TargetBuiltReason reason)[] targetNames, Lookup baseLookup, CancellationToken cancellationToken)
BackEnd\Components\RequestBuilder\TargetEntry.cs (4)
20
using ProjectLoggingContext = Microsoft.Build.BackEnd.Logging.
ProjectLoggingContext
;
333
internal List<TargetSpecification> GetDependencies(
ProjectLoggingContext
projectLoggingContext)
417
internal async Task ExecuteTarget(ITaskBuilder taskBuilder, BuildRequestEntry requestEntry,
ProjectLoggingContext
projectLoggingContext, CancellationToken cancellationToken)
697
internal List<TargetSpecification> GetErrorTargets(
ProjectLoggingContext
projectLoggingContext)