Implemented interface member:
property
Framework
NuGet.Commands.IRestoreTargetGraph.Framework
1 write to Framework
NuGet.Commands (1)
RestoreCommand\RestoreTargetGraph.cs (1)
82Framework = framework;
28 references to Framework
NuGet.Commands (28)
RestoreCommand\CompatibilityChecker.cs (5)
90graph.Framework, 131graph.Framework, 143graph.Framework, 218graph.Framework, 377if (Equals(target.TargetFramework, graph.Framework) && (target.TargetAlias == null || Equals(target.TargetAlias, graph.TargetAlias)) && string.Equals(target.RuntimeIdentifier, graph.RuntimeIdentifier, StringComparison.Ordinal))
RestoreCommand\Diagnostics\DiagnosticUtility.cs (2)
70return $"({graph.Framework.DotNetFrameworkName})"; 74return $"({graph.Framework.DotNetFrameworkName} RuntimeIdentifier: {graph.RuntimeIdentifier})";
RestoreCommand\LockFileBuilder.cs (7)
167.OrderBy(graph => graph.Framework.ToString(), StringComparer.Ordinal) 175TargetFramework = targetGraph.Framework, 182TargetFramework = targetGraph.Framework, 196bool checkMonoAndroidDeprecation = MonoAndroidDeprecation.ShouldCheck(project, targetGraph.Framework); 453graph.Framework.Equals(frameworkInfo.FrameworkName) 501TargetFrameworkInformation targetFrameworkInformation = project.TargetFrameworks.FirstOrDefault(i => i.FrameworkName.Equals(targetGraph.Framework)); 515targetGraph.Framework,
RestoreCommand\Logging\TransitiveNoWarnUtils.cs (1)
101var parentTargetFramework = targetGraph.Framework;
RestoreCommand\ProjectRestoreCommand.cs (4)
118FirstOrDefault(e => NuGetFramework.Comparer.Equals(e.FrameworkName, graph.Framework))?.RuntimeIdentifierGraphPath; 132var runtimeIds = runtimesByFramework[graph.Framework]; 468_logger.LogVerbose(string.Format(CultureInfo.CurrentCulture, Strings.Log_RestoringPackages, FrameworkRuntimePair.GetTargetGraphName(graph.Framework, runtimeName))); 472graph.Framework,
RestoreCommand\RestoreCommand.cs (3)
515TargetFrameworkInformation targetFrameworkInformation = project.GetNearestTargetFramework(graph.Framework, graph.TargetAlias); 2181graph.Framework, 2188graph.Framework,
RestoreCommand\RestoreTargetGraph.cs (1)
84TargetGraphName = string.IsNullOrEmpty(TargetAlias) ? FrameworkRuntimePair.GetTargetGraphName(Framework, RuntimeIdentifier) : GetTargetGraphName(TargetAlias, RuntimeIdentifier);
RestoreCommand\Utility\BuildAssetsUtils.cs (1)
522if (string.IsNullOrEmpty(graph.RuntimeIdentifier) && ridlessTarget.TargetFramework == graph.Framework && ridlessTarget.TargetAlias == graph.TargetAlias)
RestoreCommand\Utility\IncludeFlagUtils.cs (1)
43var specFramework = spec.GetTargetFramework(targetGraph.Framework);
RestoreCommand\Utility\LockFileUtils.cs (3)
75var framework = targetFrameworkOverride ?? targetGraph.Framework; 576var orderedCriteria = CreateCriteria(targetGraph.Conventions, targetGraph.Framework, targetGraph.RuntimeIdentifier); 578string libAnyPath = $"lib/{targetGraph.Framework.GetShortFolderName()}/any.dll";