5 instantiations of ProjectLoggingContext
Microsoft.Build (3)
BackEnd\Components\Logging\NodeLoggingContext.cs (1)
87
return new
ProjectLoggingContext
(this, request, configuration.ProjectFullPath, configuration.ToolsVersion, evaluationId);
BackEnd\Components\Logging\ProjectLoggingContext.cs (1)
93
return (args, new
ProjectLoggingContext
(nodeLoggingContext, args));
BackEnd\Components\RequestBuilder\RequestBuilder.cs (1)
1131
_projectLoggingContext = new
ProjectLoggingContext
(
Microsoft.Build.Engine.UnitTests (2)
BackEnd\TargetBuilder_Tests.cs (1)
1692
return new
ProjectLoggingContext
(new NodeLoggingContext(_host, 1, false), entry);
BackEnd\TargetEntry_Tests.cs (1)
1192
return new
ProjectLoggingContext
(new NodeLoggingContext(_host, 1, false), entry);
26 references to ProjectLoggingContext
Microsoft.Build (22)
BackEnd\Components\Logging\NodeLoggingContext.cs (6)
59
internal
ProjectLoggingContext
LogProjectStarted(BuildRequestEntry requestEntry)
61
(ProjectStartedEventArgs arg,
ProjectLoggingContext
ctx) = CreateProjectLoggingContext(requestEntry);
66
internal (ProjectStartedEventArgs,
ProjectLoggingContext
) CreateProjectLoggingContext(BuildRequestEntry requestEntry)
69
return
ProjectLoggingContext
.CreateLoggingContext(this, requestEntry);
78
internal
ProjectLoggingContext
LogProjectStarted(BuildRequest request, BuildRequestConfiguration configuration)
96
ProjectLoggingContext
projectLoggingContext = LogProjectStarted(request, configuration);
BackEnd\Components\Logging\ProjectLoggingContext.cs (1)
77
public static (ProjectStartedEventArgs,
ProjectLoggingContext
) CreateLoggingContext(
BackEnd\Components\Logging\TargetLoggingContext.cs (4)
28
private
ProjectLoggingContext
_projectLoggingContext;
38
internal TargetLoggingContext(
ProjectLoggingContext
projectLoggingContext, string projectFullPath, ProjectTargetInstance target, string parentTargetName, TargetBuiltReason buildReason)
47
private static BuildEventContext CreateInitialContext(
ProjectLoggingContext
projectLoggingContext,
79
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)
25
using ProjectLoggingContext = Microsoft.Build.BackEnd.Logging.
ProjectLoggingContext
;
89
private
ProjectLoggingContext
_projectLoggingContext;
1343
(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
;
338
internal List<TargetSpecification> GetDependencies(
ProjectLoggingContext
projectLoggingContext)
420
internal async Task ExecuteTarget(ITaskBuilder taskBuilder, BuildRequestEntry requestEntry,
ProjectLoggingContext
projectLoggingContext, CancellationToken cancellationToken)
697
internal List<TargetSpecification> GetErrorTargets(
ProjectLoggingContext
projectLoggingContext)
Microsoft.Build.Engine.UnitTests (4)
BackEnd\RequestBuilder_Tests.cs (1)
359
public Task<BuildResult> BuildTargets(
ProjectLoggingContext
loggingContext, BuildRequestEntry entry, IRequestBuilderCallback callback, (string name, TargetBuiltReason reason)[] targets, Lookup baseLookup, CancellationToken cancellationToken)
BackEnd\TargetBuilder_Tests.cs (2)
23
using ProjectLoggingContext = Microsoft.Build.BackEnd.Logging.
ProjectLoggingContext
;
1690
private
ProjectLoggingContext
GetProjectLoggingContext(BuildRequestEntry entry)
BackEnd\TargetEntry_Tests.cs (1)
1190
private
ProjectLoggingContext
GetProjectLoggingContext(BuildRequestEntry entry)