5 writes to ProjectDefaultTargets
Microsoft.Build (3)
BackEnd\BuildManager\BuildManager.cs (1)
2416
configuration.
ProjectDefaultTargets
??= result.DefaultTargets;
BackEnd\Components\BuildRequestEngine\BuildRequestEngine.cs (1)
461
configuration.
ProjectDefaultTargets
= result.DefaultTargets;
BackEnd\Shared\BuildRequestConfiguration.cs (1)
416
ProjectDefaultTargets
= _project.DefaultTargets;
Microsoft.Build.Engine.UnitTests (2)
BackEnd\ConfigCache_Tests.cs (1)
49
brq3.
ProjectDefaultTargets
= new List<string> { "target3" };
BackEnd\Scheduler_Tests.cs (1)
735
BuildRequestConfiguration config = new(configId, data, "4.0") { ProjectInitialTargets = new List<string>(),
ProjectDefaultTargets
= new List<string>() };
8 references to ProjectDefaultTargets
Microsoft.Build (6)
BackEnd\Components\BuildRequestEngine\BuildRequestEngine.cs (4)
459
if (configuration.
ProjectDefaultTargets
== null)
544
configDefaultTargets: config.
ProjectDefaultTargets
,
817
completedEntry.Result.DefaultTargets = configuration.
ProjectDefaultTargets
;
1216
configDefaultTargets: matchingConfig.
ProjectDefaultTargets
,
BackEnd\Components\Scheduler\Scheduler.cs (1)
1950
ResultsCacheResponse resultsResponse = _resultsCache.SatisfyRequest(request, config.ProjectInitialTargets, config.
ProjectDefaultTargets
, skippedResultsDoNotCauseCacheMiss);
BackEnd\Shared\BuildRequestConfiguration.cs (1)
528
public bool HasTargetsResolved => ProjectInitialTargets != null &&
ProjectDefaultTargets
!= null;
Microsoft.Build.Engine.UnitTests (2)
BackEnd\ConfigCache_Tests.cs (2)
116
copy[initialConfiguration.ConfigurationId].
ProjectDefaultTargets
.ShouldBe(initialConfiguration.
ProjectDefaultTargets
);