5 writes to ProjectInitialTargets
Microsoft.Build (3)
BackEnd\BuildManager\BuildManager.cs (1)
2417configuration.ProjectInitialTargets ??= result.InitialTargets;
BackEnd\Components\BuildRequestEngine\BuildRequestEngine.cs (1)
462configuration.ProjectInitialTargets = result.InitialTargets;
BackEnd\Shared\BuildRequestConfiguration.cs (1)
417ProjectInitialTargets = _project.InitialTargets;
Microsoft.Build.Engine.UnitTests (2)
BackEnd\ConfigCache_Tests.cs (1)
50brq3.ProjectInitialTargets = new List<string> { "targetInitial" };
BackEnd\Scheduler_Tests.cs (1)
735BuildRequestConfiguration config = new(configId, data, "4.0") { ProjectInitialTargets = new List<string>(), ProjectDefaultTargets = new List<string>() };
7 references to ProjectInitialTargets
Microsoft.Build (5)
BackEnd\Components\BuildRequestEngine\BuildRequestEngine.cs (3)
543configInitialTargets: config.ProjectInitialTargets, 818completedEntry.Result.InitialTargets = configuration.ProjectInitialTargets; 1215configInitialTargets: matchingConfig.ProjectInitialTargets,
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)
117copy[initialConfiguration.ConfigurationId].ProjectInitialTargets.ShouldBe(initialConfiguration.ProjectInitialTargets);