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)
94
return (args, new
ProjectLoggingContext
(nodeLoggingContext, args));
BackEnd\Components\RequestBuilder\RequestBuilder.cs (1)
1144
_projectLoggingContext = new
ProjectLoggingContext
(
Microsoft.Build.Engine.UnitTests (2)
BackEnd\TargetBuilder_Tests.cs (1)
1693
return new
ProjectLoggingContext
(new NodeLoggingContext(_host, 1, false), entry);
BackEnd\TargetEntry_Tests.cs (1)
1193
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)
78
public static (ProjectStartedEventArgs,
ProjectLoggingContext
) CreateLoggingContext(
BackEnd\Components\Logging\TargetLoggingContext.cs (4)
29
private
ProjectLoggingContext
_projectLoggingContext;
39
internal TargetLoggingContext(
ProjectLoggingContext
projectLoggingContext, string projectFullPath, ProjectTargetInstance target, string parentTargetName, TargetBuiltReason buildReason)
48
private static BuildEventContext CreateInitialContext(
ProjectLoggingContext
projectLoggingContext,
80
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;
1274
(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;
103
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)
24
using ProjectLoggingContext = Microsoft.Build.BackEnd.Logging.
ProjectLoggingContext
;
1691
private
ProjectLoggingContext
GetProjectLoggingContext(BuildRequestEntry entry)
BackEnd\TargetEntry_Tests.cs (1)
1191
private
ProjectLoggingContext
GetProjectLoggingContext(BuildRequestEntry entry)