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 (8)
162.OrderBy(graph => graph.Framework.ToString(), StringComparer.Ordinal) 170TargetFramework = targetGraph.Framework, 177TargetFramework = targetGraph.Framework, 185var tfi = project.GetTargetFramework(targetGraph.Framework); 191bool checkMonoAndroidDeprecation = MonoAndroidDeprecation.ShouldCheck(project, targetGraph.Framework); 443graph.Framework.Equals(frameworkInfo.FrameworkName) 491TargetFrameworkInformation targetFrameworkInformation = project.TargetFrameworks.FirstOrDefault(i => i.FrameworkName.Equals(targetGraph.Framework)); 505targetGraph.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 (2)
1967graph.Framework, 1974graph.Framework,
RestoreCommand\RestoreTargetGraph.cs (1)
84TargetGraphName = string.IsNullOrEmpty(TargetAlias) ? FrameworkRuntimePair.GetTargetGraphName(Framework, RuntimeIdentifier) : GetTargetGraphName(TargetAlias, RuntimeIdentifier);
RestoreCommand\Utility\BuildAssetsUtils.cs (1)
502if (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)
72var framework = targetFrameworkOverride ?? targetGraph.Framework; 546var orderedCriteria = CreateCriteria(targetGraph.Conventions, targetGraph.Framework, targetGraph.RuntimeIdentifier); 548string libAnyPath = $"lib/{targetGraph.Framework.GetShortFolderName()}/any.dll";