1 write to TargetAlias
NuGet.Commands (1)
RestoreCommand\FrameworkRuntimeDefinition.cs (1)
22
TargetAlias
= targetAlias ?? string.Empty;
11 references to TargetAlias
NuGet.Commands (11)
RestoreCommand\DependencyGraphResolver.cs (6)
169
TargetFrameworkInformation projectTargetFramework = _request.Project.GetTargetFramework(frameworkRuntimeDefinition.
TargetAlias
)!;
197
frameworkRuntimeDefinition.
TargetAlias
,
241
graphsByTargetFramework.Add(frameworkRuntimeDefinition.
TargetAlias
, restoreTargetGraph);
743
frameworkRuntimeDefinition.
TargetAlias
,
1391
pair.
TargetAlias
,
1431
if (string.IsNullOrEmpty(frameworkRuntimeDefinition.RuntimeIdentifier) || !graphsByTargetAlias.TryGetValue(frameworkRuntimeDefinition.
TargetAlias
, out RestoreTargetGraph? restoreTargetGraphForTargetFramework))
RestoreCommand\FrameworkRuntimeDefinition.cs (1)
33
TargetAlias
,
RestoreCommand\RestoreCommand.cs (4)
625
var restoreTargetGraph = RestoreTargetGraph.Create(_request.Project.RuntimeGraph, Enumerable.Empty<GraphNode<RemoteResolveResult>>(), contextForProject, frameworkRuntimePairs[i].
TargetAlias
, frameworkRuntimePairs[i].Framework, frameworkRuntimePairs[i].RuntimeIdentifier);
1870
targetFrameworkToAlias.Add(frameworkRuntimeDefinition.Framework, frameworkRuntimeDefinition.
TargetAlias
);
1910
allGraphs.Add(RestoreTargetGraph.Create(_request.Project.RuntimeGraph, Enumerable.Empty<GraphNode<RemoteResolveResult>>(), context, frameworkRuntimePair.
TargetAlias
, frameworkRuntimePair.Framework, frameworkRuntimePair.RuntimeIdentifier));
2076
graphs.Add(RestoreTargetGraph.Create(_request.Project.RuntimeGraph, Enumerable.Empty<GraphNode<RemoteResolveResult>>(), context, frameworkRuntimePair.
TargetAlias
, frameworkRuntimePair.Framework, frameworkRuntimePair.RuntimeIdentifier));