11 instantiations of RuntimeGraph
aspire (1)
Microsoft.DotNet.Build.Tasks.Packaging (1)
NuGet.Build.Tasks.Console (1)
NuGet.Commands (2)
NuGet.Packaging (5)
NuGet.ProjectModel (1)
125 references to RuntimeGraph
aspire (1)
Aspire.Hosting.Sdk.Tests (3)
Aspire.RuntimeIdentifier.Tool (3)
Crossgen2Tasks (7)
installer.tasks (3)
Microsoft.DotNet.Build.Tasks.Packaging (6)
Microsoft.DotNet.PackageValidation (1)
Microsoft.DotNet.SharedFramework.Sdk (1)
Microsoft.NET.Build.Containers (3)
Microsoft.NET.Build.Tasks (14)
NuGet.Commands (41)
RestoreCommand\DependencyGraphResolver.cs (13)
109/// <item>A <see cref="RuntimeGraph" /> representing the runtime graph of the resolved dependency graph.</item>
112public async Task<ValueTuple<bool, List<RestoreTargetGraph>, RuntimeGraph>> ResolveAsync(
141RuntimeGraph allRuntimes = RuntimeGraph.Empty;
177if (TryGetRuntimeGraph(localRepositories, graphsByTargetFramework, frameworkRuntimeDefinition, projectTargetFramework, out RuntimeGraph? runtimeGraph))
180allRuntimes = RuntimeGraph.Merge(allRuntimes, runtimeGraph);
302/// <param name="runtimeGraph">The <see cref="RuntimeGraph" /> of the dependency graph.</param>
315RuntimeGraph? runtimeGraph,
763private static bool EvaluateRuntimeDependencies(ref LibraryDependency libraryDependency, RuntimeGraph? runtimeGraph, string? runtimeIdentifier, ref HashSet<LibraryDependency>? runtimeDependencies)
922RuntimeGraph? runtimeGraph,
1435/// <param name="runtimeGraph">Receives the <see cref="RuntimeGraph" /> for the <see cref="FrameworkRuntimeDefinition" /> if one was found, otherwise <see langword="null" />.</param>
1437private bool TryGetRuntimeGraph(List<NuGetv3LocalRepository> localRepositories, Dictionary<string, RestoreTargetGraph> graphsByTargetAlias, FrameworkRuntimeDefinition frameworkRuntimeDefinition, TargetFrameworkInformation? projectTargetFramework, [NotNullWhen(true)] out RuntimeGraph? runtimeGraph)
1451RuntimeGraph? projectProviderRuntimeGraph = string.IsNullOrWhiteSpace(runtimeGraphPath) ? default : ProjectRestoreCommand.GetRuntimeGraph(runtimeGraphPath, _logger);
RestoreCommand\ProjectRestoreCommand.cs (18)
45public async Task<Tuple<bool, List<RestoreTargetGraph>, RuntimeGraph>> TryRestoreAsync(LibraryRange projectRange,
57var allRuntimes = RuntimeGraph.Empty;
113var projectProvidedRuntimeIdentifierGraphs = new SortedList<string, RuntimeGraph>();
120RuntimeGraph projectProviderRuntimeGraph = null;
131var runtimeGraph = GetRuntimeGraph(graph, localRepositories, projectRuntimeGraph: projectProviderRuntimeGraph, _logger);
135allRuntimes = RuntimeGraph.Merge(allRuntimes, runtimeGraph);
180internal static RuntimeGraph GetRuntimeGraph(string runtimeGraphPath, RestoreCollectorLogger logger)
188var runtimeGraph = JsonRuntimeFormat.ReadRuntimeGraph(stream);
267runtimeGraph: RuntimeGraph.Empty,
277RuntimeGraph runtimeGraph,
462RuntimeGraph runtimes,
486internal static RuntimeGraph GetRuntimeGraph(RestoreTargetGraph graph, IReadOnlyList<NuGetv3LocalRepository> localRepositories, RuntimeGraph projectRuntimeGraph, RestoreCollectorLogger logger)
489var runtimeGraph = projectRuntimeGraph ?? RuntimeGraph.Empty;
508var nextGraph = info.Package.RuntimeGraph;
512runtimeGraph = RuntimeGraph.Merge(runtimeGraph, nextGraph);
RestoreCommand\RestoreCommand.cs (5)
2126Tuple<bool, List<RestoreTargetGraph>, RuntimeGraph> result = null;
2182var runtimes = result.Item3;
2209Tuple<bool, List<RestoreTargetGraph>, RuntimeGraph> compatibilityResult = null;
2307RuntimeGraph runtimes = null;
2314(bool Success, List<RestoreTargetGraph> Graphs, RuntimeGraph Runtimes) result = await dependencyGraphResolver.ResolveAsync(userPackageFolder, fallbackPackageFolders, context, projectRestoreCommand, localRepositories, token);
NuGet.DependencyResolver.Core (4)
NuGet.Packaging (25)
NuGet.ProjectModel (3)
NuGet.Protocol (9)
sdk-tasks (1)