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