16 instantiations of ProjectGraphEntryPoint
Microsoft.Build (12)
BackEnd\Components\ProjectCache\ProjectCacheService.cs (2)
743return [new ProjectGraphEntryPoint(configuration.ProjectFullPath, globalProperties)]; 788graphEntryPoints.Add(new ProjectGraphEntryPoint(projectPath, globalProperties));
Graph\GraphBuilder.cs (1)
349newEntryPoints.Add(new ProjectGraphEntryPoint(project.AbsolutePath, projectGlobalProperties));
Graph\GraphBuildRequestData.cs (2)
72: this(new ProjectGraphEntryPoint(projectFullPath, globalProperties).AsEnumerable(), targetsToBuild, hostServices, BuildRequestDataFlags.None) 85: this(new ProjectGraphEntryPoint(projectFullPath, globalProperties).AsEnumerable(), targetsToBuild, hostServices, flags)
Graph\ProjectGraph.cs (5)
116: this(new ProjectGraphEntryPoint(entryProjectFile).AsEnumerable(), ProjectCollection.GlobalProjectCollection, null) 146: this(new ProjectGraphEntryPoint(entryProjectFile).AsEnumerable(), projectCollection, null) 189: this(new ProjectGraphEntryPoint(entryProjectFile).AsEnumerable(), projectCollection, projectInstanceFactory) 206: this(new ProjectGraphEntryPoint(entryProjectFile, globalProperties).AsEnumerable(), ProjectCollection.GlobalProjectCollection, null) 244: this(new ProjectGraphEntryPoint(entryProjectFile, globalProperties).AsEnumerable(), projectCollection, null)
Graph\ProjectGraphEntryPoint.cs (2)
53yield return new ProjectGraphEntryPoint(entryProjectFile); 61yield return new ProjectGraphEntryPoint(entryProjectFile, globalProperties);
Microsoft.DotNet.HotReload.Watch (1)
Build\ProjectGraphFactory.cs (1)
57var entryPoints = rootProjects.Select(p => new ProjectGraphEntryPoint(p.ProjectGraphPath, buildProperties));
MSBuild (1)
XMake.cs (1)
1775graphBuildRequest = new GraphBuildRequestData([new ProjectGraphEntryPoint(projectFile, globalProperties)], targets, null, flags, graphBuildOptions);
NuGet.Build.Tasks.Console (2)
MSBuildStaticGraphRestore.cs (2)
727return projectsKnownToMSBuild.Select(i => new ProjectGraphEntryPoint(i.AbsolutePath, globalProperties)).ToList(); 733new ProjectGraphEntryPoint(entryProjectPath, globalProperties),
49 references to ProjectGraphEntryPoint
Microsoft.Build (44)
BackEnd\Components\ProjectCache\CacheContext.cs (3)
22public IReadOnlyCollection<ProjectGraphEntryPoint>? GraphEntryPoints { get; } 31IReadOnlyCollection<ProjectGraphEntryPoint>? graphEntryPoints = null) 41IReadOnlyCollection<ProjectGraphEntryPoint>? graphEntryPoints = null)
BackEnd\Components\ProjectCache\Experimental\CacheContext.cs (3)
24public IReadOnlyCollection<ProjectGraphEntryPoint>? GraphEntryPoints { get; } 33IReadOnlyCollection<ProjectGraphEntryPoint>? graphEntryPoints = null) 43IReadOnlyCollection<ProjectGraphEntryPoint>? graphEntryPoints = null)
BackEnd\Components\ProjectCache\ProjectCacheService.cs (5)
253IReadOnlyCollection<ProjectGraphEntryPoint>? graphEntryPoints = buildRequestConfiguration != null 713private IReadOnlyCollection<ProjectGraphEntryPoint> GetGraphEntryPoints(BuildRequestConfiguration configuration) 746static IReadOnlyCollection<ProjectGraphEntryPoint> GenerateGraphEntryPointsFromSolutionConfigurationXml( 754return Array.Empty<ProjectGraphEntryPoint>(); 757var graphEntryPoints = new List<ProjectGraphEntryPoint>(projectConfigurations.Count);
Graph\GraphBuilder.cs (7)
66IEnumerable<ProjectGraphEntryPoint> entryPoints, 259private (IReadOnlyCollection<ProjectGraphEntryPoint> NewEntryPoints, IReadOnlyDictionary<string, IReadOnlyCollection<string>> SolutionDependencies) ExpandSolutionIfPresent(IReadOnlyCollection<ProjectGraphEntryPoint> entryPoints) 276ProjectGraphEntryPoint solutionEntryPoint = entryPoints.Single(); 323List<ProjectGraphEntryPoint> newEntryPoints = new(projectsInSolution.Count); 419private static List<ConfigurationMetadata> AddGraphBuildPropertyToEntryPoints(IEnumerable<ProjectGraphEntryPoint> entryPoints) 424foreach (var entryPoint in entryPoints)
Graph\GraphBuildRequestData.cs (10)
94public GraphBuildRequestData(ProjectGraphEntryPoint projectGraphEntryPoint, ICollection<string> targetsToBuild) 105public GraphBuildRequestData(ProjectGraphEntryPoint projectGraphEntryPoint, ICollection<string> targetsToBuild, HostServices? hostServices) 117public GraphBuildRequestData(ProjectGraphEntryPoint projectGraphEntryPoint, ICollection<string> targetsToBuild, HostServices? hostServices, BuildRequestDataFlags flags) 127public GraphBuildRequestData(IEnumerable<ProjectGraphEntryPoint> projectGraphEntryPoints, ICollection<string> targetsToBuild) 138public GraphBuildRequestData(IEnumerable<ProjectGraphEntryPoint> projectGraphEntryPoints, ICollection<string> targetsToBuild, HostServices? hostServices) 150public GraphBuildRequestData(IEnumerable<ProjectGraphEntryPoint> projectGraphEntryPoints, ICollection<string> targetsToBuild, HostServices? hostServices, BuildRequestDataFlags flags) 158public GraphBuildRequestData(IEnumerable<ProjectGraphEntryPoint> projectGraphEntryPoints, ICollection<string> targetsToBuild, HostServices? hostServices, BuildRequestDataFlags flags, GraphBuildOptions graphBuildOptions) 188public IEnumerable<ProjectGraphEntryPoint>? ProjectGraphEntryPoints { get; } 207foreach (ProjectGraphEntryPoint entryPoint in ProjectGraphEntryPoints) 225ProjectGraphEntryPoint? entryPoint = ProjectGraphEntryPoints?.FirstOrDefault();
Graph\ProjectGraph.cs (11)
34/// <see cref="ProjectGraphEntryPoint" /> instance. 129: this(ProjectGraphEntryPoint.CreateEnumerable(entryProjectFiles), ProjectCollection.GlobalProjectCollection, null) 163: this(ProjectGraphEntryPoint.CreateEnumerable(entryProjectFiles), projectCollection, null) 223: this(ProjectGraphEntryPoint.CreateEnumerable(entryProjectFiles, globalProperties), ProjectCollection.GlobalProjectCollection, null) 265: this(ProjectGraphEntryPoint.CreateEnumerable(entryProjectFiles, globalProperties), projectCollection, null) 276public ProjectGraph(ProjectGraphEntryPoint entryPoint) 288public ProjectGraph(IEnumerable<ProjectGraphEntryPoint> entryPoints) 304public ProjectGraph(ProjectGraphEntryPoint entryPoint, ProjectCollection projectCollection) 334IEnumerable<ProjectGraphEntryPoint> entryPoints, 374IEnumerable<ProjectGraphEntryPoint> entryPoints, 418IEnumerable<ProjectGraphEntryPoint> entryPoints,
Graph\ProjectGraphEntryPoint.cs (3)
49internal static IEnumerable<ProjectGraphEntryPoint> CreateEnumerable(IEnumerable<string> entryProjectFiles) 57internal static IEnumerable<ProjectGraphEntryPoint> CreateEnumerable(IEnumerable<string> entryProjectFiles, IDictionary<string, string> globalProperties) 65internal readonly IEnumerable<ProjectGraphEntryPoint> AsEnumerable()
Graph\ProjectGraphOptions.cs (2)
36/// A list of <see cref="ProjectGraphEntryPoint" /> objects representing the entry points to use when constructing the graph. 38public required IEnumerable<ProjectGraphEntryPoint> EntryPoints { get; init; }
MSBuild (1)
XMake.cs (1)
1805ProjectGraphEntryPoint entryPoint = graphBuildRequest.ProjectGraphEntryPoints.Single();
NuGet.Build.Tasks.Console (4)
MSBuildStaticGraphRestore.cs (4)
706private List<ProjectGraphEntryPoint> GetProjectGraphEntryPoints(string entryProjectPath, IDictionary<string, string> globalProperties) 731return new List<ProjectGraphEntryPoint> 1021foreach (var entryPoint in entryProjects) 1228IEnumerable<ProjectGraphEntryPoint> entryProjects,