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